aboutsummaryrefslogtreecommitdiff
path: root/templates/thread.tmpl
blob: f32b065c1258386ac4b56fd75584b7a6476dd2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{with $s := .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<h1>Thread <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1>

{{range .Statuses}}

{{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}}

{{end}}

{{template "footer.tmpl"}}
{{end}}