{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}}
{{.BBS}} > {{$b.Area.Name}}
{{$b.Root.Subject}}
« back to the forum
{{with $b.Poll}} {{if or .Voted (not $me)}} {{range .Answers}}{{end}} {{end}} {{if $me}}{{end}}
Poll
{{.Text}}{{if .Mine}} *{{end}}{{.Count}} ({{.Pct}}%)
{{.Total}} votes{{if not $me}} · log in to vote{{end}}
{{range .Answers}}{{end}}
{{end}} {{range $b.Posts}}{{$bg := "alt1"}}{{if not (odd .Num)}}{{$bg = "alt2"}}{{end}} {{end}}
Author
Thread    {{template "pages" $b.Pages}}{{if $b.CanPost}}new thread post reply{{end}}

{{vbdate .M.Created}} {{vbtime .M.Created}}

Posted by:
{{.M.From}}{{template "flag" .}}

{{if .Author}}profile{{end}}{{if .CanLike}}
{{end}}
{{.M.Subject}}{{if $b.CanPost}}quote{{end}}{{if .CanDelete}} |
{{end}}
{{body .M.Body}}
{{if .Likes}}

{{plural .Likes "member likes" "members like"}} this.

{{end}}
All times are server time    {{template "pages" $b.Pages}}{{if $b.CanPost}}new thread post reply{{end}}
{{if $b.CanPost}}
{{if $b.QuoteID}}{{end}}
Post a reply
Message:
Quote with > at the start of a line.
{{if $b.Aliases}}
{{end}}
{{else if not .User}}

Log in to post a reply.

{{end}} {{template "foot" .}}{{end}}