aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-11-09 12:10:29 +0000
committerr <r@freesoftwareextremist.com>2020-11-09 12:10:29 +0000
commitc3f39210d8451d65f3ecaa88046380f42dc536a1 (patch)
treed43280e9c56ecebd8270722bcf043a19b1cd757d /templates
parent3a3a8672ba3c9c6fd6905e2273c72b4ab36db552 (diff)
downloadbloat-c3f39210d8451d65f3ecaa88046380f42dc536a1.tar.gz
bloat-c3f39210d8451d65f3ecaa88046380f42dc536a1.zip
Add fluoridated reply to popup
Diffstat (limited to 'templates')
-rw-r--r--templates/statuspopup.tmpl15
1 files changed, 15 insertions, 0 deletions
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)}}
+<div class="page-title"> Thread </div>
+
+{{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}}