aboutsummaryrefslogtreecommitdiff
path: root/templates/thread.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-21 13:26:31 +0000
committerr <r@freesoftwareextremist.com>2019-12-21 13:26:31 +0000
commit2678f33157d147ba548793709cd8fbaabb4eaae2 (patch)
tree37d4775452f68dc8a52f3156758dc3475feeda68 /templates/thread.tmpl
parent3af4361927d65b896ac3f9e2f0170cbbef63c0c0 (diff)
downloadbloat-2678f33157d147ba548793709cd8fbaabb4eaae2.tar.gz
bloat-2678f33157d147ba548793709cd8fbaabb4eaae2.zip
Add support for scopes
- Add scope selection for for new post - Save new post scope in db - Copy scope on reply - Show scope icon on posts
Diffstat (limited to 'templates/thread.tmpl')
-rw-r--r--templates/thread.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/thread.tmpl b/templates/thread.tmpl
index 9d8f650..afb307b 100644
--- a/templates/thread.tmpl
+++ b/templates/thread.tmpl
@@ -5,8 +5,8 @@
{{range .Statuses}}
{{template "status.tmpl" .}}
-{{if $.ReplyContext}}{{if eq .ID $.ReplyContext.InReplyToID}}
-{{template "postform.tmpl" $.ReplyContext}}
+{{if $.PostContext.ReplyContext}}{{if eq .ID $.PostContext.ReplyContext.InReplyToID}}
+{{template "postform.tmpl" $.PostContext}}
{{end}}{{end}}
{{end}}