{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}}
{{template "navbar" .}}
{{with $b.Poll}}
{{if or .Voted (not $me)}} {{range $i, $a := .Answers}} {{end}} {{end}} {{if $me}} {{end}}
Poll: {{$b.Root.Subject}}
{{$a.Text}}{{if $a.Mine}} *{{end}}{{$a.Count}}{{$a.Pct}}%
Total: {{.Total}} votes{{if not $me}} · log in to vote{{end}}
{{range .Answers}}{{end}}
{{end}}
{{template "pages" $b.Pages}} « Back to {{$b.Area.Name}}
{{range $b.Posts}}{{$bg := "alt1"}}{{if not (odd .Num)}}{{$bg = "alt2"}}{{end}} {{end}}
Author
Thread{{if $b.CanPost}}new thread post reply{{end}}
{{.M.From}}{{template "flag" .}}
{{if .Author}}{{if .Author.Sysop}}Administrator{{else}}{{if ge .Author.Posts 100}}Senior Member{{else if ge .Author.Posts 30}}Member{{else}}Junior Member{{end}}{{end}}{{else}}Guest{{end}}
{{template "avatar" (av .M.From "large")}} {{if .Author}}

Registered: {{monthyear .Author.Created}}
{{if .Author.Location}}Location: {{.Author.Location}}
{{end}}Posts: {{num .Author.Posts}}

{{else if .Where}}

Location: {{.Where}}

{{end}}
{{.M.Subject}}
{{body .M.Body}}
{{if .Likes}}

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

{{end}}
{{vbdate .M.Created}} {{vbtime .M.Created}}
{{if .Author}}profile{{end}} {{if .CanLike}}
{{end}}
{{if .CanDelete}}
{{end}} {{if $b.CanPost}}quote{{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 Reply
Message:

Quote with > at the start of a line.
Links are made links.

{{if $b.Aliases}}
{{end}}
{{else if not .User}}

Log in to post a reply.

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