bloat/templates/thread.tmpl

16 lines
402 B
Cheetah
Raw Permalink Normal View History

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