{{template "header.html" . }}

All Topics

{{if ne .CurrentUser.ID 0}} {{if .ForumList}}
{{else}}
{{end}}
{{end}}
{{if ne .CurrentUser.ID 0}} {{if .ForumList}} {{end}} {{end}}
{{range .TopicList}}
{{.PostCount}} replies
{{.LastReplyAt}}
{{.Title}} {{if .ForumName}}{{.ForumName}}{{end}}
Starter: {{.Creator.Name}} {{/** TODO: Avoid the double '|' when both .IsClosed and .Sticky are set to true. We could probably do this with CSS **/}} {{if .IsClosed}} | 🔒︎{{end}} {{if .Sticky}} | 📍︎{{end}}
{{.LastUser.Name}}
Last: {{.LastReplyAt}}
{{else}}
There aren't any topics yet.{{if .CurrentUser.Perms.CreateTopic}} Start one?{{end}}
{{end}}
{{template "footer.html" . }}