{{define "title"}}{{.Forum.Title}}{{end}} {{define "content"}}

{{.Forum.Title}}

{{if .FeatureUserForumsEnabled}}
{{InputCSRF}} {{if .IsForumSubscribed}} {{else}} {{end}}
{{end}}
{{$Root := .}}
{{if or .CurrentUser.IsAdmin (not .Forum.Privileged) (eq .Forum.OwnerID .CurrentUser.ID)}} New Thread {{end}}

Found {{.Pager.Total}} post{{Pluralize64 .Pager.Total}} on this forum (page {{.Pager.Page}} of {{.Pager.Pages}}).

{{if .Forum.Privileged}}
Only moderators may create new threads on this forum. You may be able to reply to threads here.
{{end}}
{{SimplePager .Pager}}
{{$Root := .}}
{{range .Threads}} {{$Stats := $Root.ThreadMap.Get .ID}}

{{if .Pinned}}{{end}} {{or .Title "Untitled"}}

{{TrimEllipses .Comment.Message 256}}

{{if .Pinned}} Pinned {{end}} {{if .PollID}} Poll {{end}} {{if .Explicit}} NSFW {{end}} {{if .NoReply}} No Reply {{end}} Updated {{SincePrettyCoarse .UpdatedAt}} ago

Replies

{{if $Stats}} {{$Stats.Replies}} {{else}} err {{end}}

Views

{{if $Stats}} {{$Stats.Views}} {{else}} err {{end}}
{{end}}
{{SimplePager .Pager}}
{{end}}