{{if gt .Page 1}}{{end}}
{{if ne .LastPage .Page}}{{end}}
{{if not .CurrentUser.Loggedin}}{{end}}
{{.Topic.Title}}
- {{.Forum.Name}}
{{/** TODO: Does this need to be guarded by a permission? It's only visible in edit mode anyway, which can't be triggered, if they don't have the permission **/}}
{{if .CurrentUser.Loggedin}}
{{if not .Topic.IsClosed or .CurrentUser.Perms.CloseTopic}}
{{if .CurrentUser.Perms.EditTopic}}
{{end}}
{{end}}
{{end}}
{{.Topic.ViewCount}}
{{/** TODO: Inline this CSS **/}}
{{if .Topic.IsClosed}}🔒︎{{end}}