bloat/templates/thread.tmpl

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