{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}}
{{template "avatar" (av $b.Root.From "mini")}}

{{$b.Root.Subject}}

By {{$b.Root.From}}, {{ago $b.Root.Created}} in {{$b.Area.Name}}

{{template "pages" $b.Pages}}
{{if $b.CanPost}}Reply to this topic Start new topic{{end}}
{{with $b.Poll}}

{{$b.Root.Subject}}

{{if or .Voted (not $me)}}

{{plural .Total "member has" "members have"}} voted{{if not $me}} · Sign in to vote{{end}}

{{end}} {{if $me}}
{{range .Answers}}{{end}}
{{end}}
{{end}} {{range $b.Posts}}
Posted {{ago .M.Created}}{{if and .M.To (ne .M.To "All")}} · to {{.M.To}}{{end}}
{{body .M.Body}}
    {{if $b.CanPost}}
  • Quote
  • {{end}} {{if .CanDelete}}
  • {{end}}
{{if .Likes}} {{.Likes}}{{end}} {{if .CanLike}}
{{end}}
{{end}}
{{template "pages" $b.Pages}}
Go to topic listing
{{if $b.CanPost}}
{{if $b.QuoteID}}{{end}}
{{template "avatar" (av $me.Name "mini")}}
{{if $b.Aliases}}{{end}}
{{else if not .User}}

Create an account or sign in to comment

You need to be a member in order to leave a comment

{{if .Register}}Register a new account{{end}}Sign In Now
{{end}} {{template "foot" .}}{{end}}