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

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