thread.tmpl 544 B

123456789101112131415161718
  1. {{with $s := .Data}}
  2. {{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
  3. <div class="page-title-container">
  4. <span class="page-title"> Thread </span>
  5. <a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
  6. </div>
  7. {{range .Statuses}}
  8. {{template "status.tmpl" (WithContext . $.Ctx)}}
  9. {{if $s.PostContext.ReplyContext}}{{if eq .ID $s.PostContext.ReplyContext.InReplyToID}}
  10. {{template "postform.tmpl" (WithContext $s.PostContext $.Ctx)}}
  11. {{end}}{{end}}
  12. {{end}}
  13. {{template "footer.tmpl"}}
  14. {{end}}