{{template "header.html" . }}

All Topics

{{if ne .CurrentUser.ID 0}} {{if .ForumList}}
{{/** TODO: Add a permissions check for this **/}}
{{else}}
{{end}}
{{end}}
{{if ne .CurrentUser.ID 0}} {{/** TODO: Hide these from unauthorised users? **/}}
What do you want to do with these 18 topics?
{{if .ForumList}} {{/** TODO: Have a seperate forum list for moving topics? Maybe an AJAX forum search compatible with plugin_guilds? **/}} {{/** TODO: Add ARIA attributes for this **/}} {{end}} {{end}}
{{range .TopicList}}
{{.Creator.Name}}'s Avatar {{.Title}} {{if .ForumName}}{{.ForumName}}{{end}}
{{.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}}
{{.PostCount}}
{{.LikeCount}}
{{.LastUser.Name}}'s Avatar {{.LastUser.Name}}
{{.RelativeLastReplyAt}}
{{else}}
There aren't any topics yet.{{if .CurrentUser.Perms.CreateTopic}} Start one?{{end}}
{{end}}
{{if gt .LastPage 1}}
{{if gt .Page 1}} {{end}} {{range .PageList}} {{end}} {{if ne .LastPage .Page}} {{end}}
{{end}}
{{template "footer.html" . }}