{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}}

{{$b.Root.Subject}}

Started by {{$b.Root.From}}, {{smfdate $b.Root.Created}}

{{template "pages" $b.Pages}}
{{if $b.CanPost}}ReplyNew Topic{{end}}
{{with $b.Poll}}

Poll

{{$b.Root.Subject}}

{{if or .Voted (not $me)}}
{{range $i, $a := .Answers}}
{{$a.Text}}
{{$a.Count}} ({{$a.Pct}}%)
{{end}}

Total Members Voted: {{.Total}}{{if not $me}} · Login to vote{{end}}

{{end}} {{if $me}}
{{range .Answers}}{{end}}
{{end}}
{{end}}

Author Topic: {{$b.Root.Subject}}  (Read {{plural $b.Count "post" "posts"}})

{{range $b.Posts}}

{{if .Author}}{{.M.From}}{{else}}{{.M.From}}{{end}}{{template "flag" .}}

{{.M.Subject}}
{{body .M.Body}}
{{if .CanLike}}
{{end}}{{if .Likes}}{{end}}
    {{if $b.CanPost}}
  • Quote
  • {{end}} {{if .CanDelete}}
  • {{end}}
{{end}}
{{template "pages" $b.Pages}}
{{if $b.CanPost}}Reply{{end}}Back to {{$b.Area.Name}}
{{if $b.CanPost}}
{{if $b.QuoteID}}{{end}}

Quick Reply

Quote with > at the start of a line.

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

You must login to reply.

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