{{define "topic.html"}}{{template "head" .}} {{$b := .Body}}{{$csrf := .CSRF}}{{$me := .User}} {{template "crumbs" .}}
| {{template "pages" $b.Pages}} |
| Poll: {{$b.Root.Subject}} | ||
|---|---|---|
| {{$a.Text}}{{if $a.Mine}} (your vote){{end}} | {{$a.Count}} ({{$a.Pct}}%) | |
| Total votes: {{.Total}}{{if not $me}} · Login to vote{{end}} | ||
| Author | Topic: {{$b.Root.Subject}} ({{plural $b.Count "post" "posts"}}) |
|---|
|
{{if .Author}}{{.M.From}}{{else}}{{.M.From}}{{end}}{{template "flag" .}}
{{if .Author}}{{template "yyrank" .Author}}
{{template "yystars" .Author}}
{{template "avatar" (av .M.From "large")}}
{{if .Author.Location}}{{.Author.Location}} {{end}}
Posts: {{num .Author.Posts}} {{else}}Guest {{if .Where}}{{.Where}} {{end}}{{end}}
|
{{if ne .Num 1}}Re: {{end}}{{$b.Root.Subject}}
« {{if ne .Num 1}}Reply #{{add .Num -1}} {{end}}on: {{template "yydate" .M.Created}} »
{{if $b.CanPost}}Quote{{end}}
{{if .CanLike}}{{end}}
{{if .CanDelete}}{{end}}
|
|
{{if .Likes}}« {{plural .Likes "member likes" "members like"}} this post »{{end}} Logged
|
| {{template "pages" $b.Pages}} |
Please login to reply to this topic.
{{end}} {{template "foot" .}}{{end}}