2016-12-03 13:45:08 +00:00
{{template "header.html" . }}
2017-05-29 14:52:37 +00:00
2017-01-26 13:37:50 +00:00
{{if gt .Page 1}}< div id = "prevFloat" class = "prev_button" > < a class = "prev_link" href = "/forum/{{.Forum.ID}}?page={{subtract .Page 1}}" > < < / a > < / div > {{end}}
{{if ne .LastPage .Page}}< link rel = "prerender" href = "/forum/{{.Forum.ID}}?page={{add .Page 1}}" / >
< div id = "nextFloat" class = "next_button" > < a class = "next_link" href = "/forum/{{.Forum.ID}}?page={{add .Page 1}}" > > < / a > < / div > {{end}}
2017-05-29 14:52:37 +00:00
2016-12-03 13:45:08 +00:00
< div class = "rowblock" >
2017-02-05 14:41:53 +00:00
< div class = "rowitem rowhead" > < a > {{.Title}}< / a >
2017-05-29 14:52:37 +00:00
{{if ne .CurrentUser.ID 0}}{{if not .CurrentUser.Perms.CreateTopic}}< span class = 'username head_tag_upshift' title = 'No Permissions' > 🔒 & #xFE0E< / span > {{else}}< a href = "/topics/create/{{.Forum.ID}}" class = 'username head_tag_upshift' > New Topic< / a > {{end}}{{end}}< / div >
2016-12-03 13:45:08 +00:00
< / div >
2017-06-05 11:57:27 +00:00
< div id = "forum_topic_list" class = "rowblock topic_list" >
{{range .ItemList}}< div class = "rowitem passive datarow" style = "{{if .Avatar}}background-image: url({{.Avatar}});background-position: left;background-repeat: no-repeat;background-size: 64px;padding-left: 72px;{{end}}{{if .Sticky}}background-color: #FFFFCC;{{else if .Is_Closed}}background-color: #eaeaea;{{end}}" >
< span class = "rowsmall" style = "float: right;" >
< span class = "replyCount" > {{.PostCount}} replies< / span > < br / >
< span class = "lastReplyAt" > {{.LastReplyAt}}< / span >
< / span >
< span >
2017-06-28 12:05:26 +00:00
< a class = "rowtopic" href = "/topic/{{.Slug}}.{{.ID}}" > {{.Title}}< / a >
< br / > < a class = "rowsmall" href = "/user/{{.UserSlug}}.{{.CreatedBy}}" > Starter: {{.CreatedByName}}< / a >
2017-06-05 11:57:27 +00:00
{{if .Is_Closed}}< span class = "rowsmall topic_status_e topic_status_closed" title = "Status: Closed" > | 🔒 & #xFE0E{{end}}< / span >
< / span >
2016-12-21 02:30:32 +00:00
< / div >
2017-02-05 14:41:53 +00:00
{{else}}< div class = "rowitem passive" > There aren't any topics in this forum yet.{{if .CurrentUser.Perms.CreateTopic}} < a href = "/topics/create/{{.Forum.ID}}" > Start one?< / a > {{end}}< / div > {{end}}
2016-12-03 13:45:08 +00:00
< / div >
2017-06-05 11:57:27 +00:00
{{template "footer.html" . }}