{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}}
{{with $b.Poll}}| Poll: {{$b.Root.Subject}} | |||
| {{$a.Text}}{{if $a.Mine}} (your vote){{end}} | {{$a.Count}} | {{$a.Pct}}% | |
| Voters: {{.Total}}.{{if not $me}} You may not vote on this poll until you log in.{{end}} | |||
{{$b.Root.Subject}}« {{$b.Area.Name}}{{if $b.CanPost}} | New Thread{{end}} |
| {{vbdate .M.Created}}, {{vbtime .M.Created}} | #{{.Num}} |
|
{{if .Author}}{{.M.From}}{{else}}{{.M.From}}{{end}}{{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}}{{else}}Guest{{end}}
{{template "avatar" (av .M.From "large")}}
{{if .Author}}
Join Date: {{monthyear .Author.Created}} {{if .Author.Location}}Location: {{.Author.Location}} {{end}}Posts: {{num .Author.Posts}} {{else if .Where}}Location: {{.Where}} {{end}} |
|
| {{if .Author}}Profile{{end}} | {{if .CanLike}}{{end}} {{if .CanDelete}}{{end}} {{if $b.CanPost}}Quote{{end}} |
Log in to post a reply.
{{end}} {{template "foot" .}}{{end}}