bloat/templates/thread.tmpl

19 lines
544 B
Cheetah
Raw 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)}}
2022-01-27 13:50:54 +02:00
<div class="page-title-container">
2021-04-03 09:57:31 +03:00
<span class="page-title"> Thread </span>
2022-01-27 13:50:54 +02:00
<a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
2021-04-03 09:57:31 +03:00
</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}}