bloat/templates/thread.tmpl

16 lines
402 B
Cheetah
Raw Permalink Normal View History

2020-01-14 16:57:16 +00:00
{{with $s := .Data}}
2020-02-18 22:15:37 +00:00
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="page-title"> Thread </div>
2019-12-13 18:08:26 +00:00
2019-12-18 22:14:02 +00:00
{{range .Statuses}}
2019-12-13 18:08:26 +00:00
2020-01-14 16:57:16 +00:00
{{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}}
2019-12-13 18:08:26 +00:00
{{end}}
{{template "footer.tmpl"}}
2020-01-14 16:57:16 +00:00
{{end}}