From c3f39210d8451d65f3ecaa88046380f42dc536a1 Mon Sep 17 00:00:00 2001 From: r Date: Mon, 9 Nov 2020 12:10:29 +0000 Subject: Add fluoridated reply to popup --- templates/statuspopup.tmpl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 templates/statuspopup.tmpl (limited to 'templates') diff --git a/templates/statuspopup.tmpl b/templates/statuspopup.tmpl new file mode 100644 index 0000000..8cf9ead --- /dev/null +++ b/templates/statuspopup.tmpl @@ -0,0 +1,15 @@ +{{with $s := .Data}} +{{template "header.tmpl" (WithContext .CommonData $.Ctx)}} +
Thread
+ +{{range .Statuses}} + +{{template "status.tmpl" (WithContext . $.Ctx)}} +{{if $s.PostContext.ReplyContext}}{{if eq .ID $s.PostContext.ReplyContext.InReplyToID}} +{{template "postform.tmpl" (WithContext $s.PostContext $.Ctx)}} +{{end}}{{end}} + +{{end}} + +{{template "footer.tmpl"}} +{{end}} -- cgit v1.2.3