2016-12-02 07:38:54 +00:00
|
|
|
{{template "header.html" . }}
|
|
|
|
<div class="rowblock">
|
2017-01-07 06:31:04 +00:00
|
|
|
<div class="rowitem rowhead"><a>Topic List</a></div>
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>
|
|
|
|
<div class="rowblock">
|
2016-12-26 04:44:07 +00:00
|
|
|
{{range .ItemList}}<div class="rowitem passive" 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}}">
|
2017-02-06 04:52:19 +00:00
|
|
|
<a href="/topic/{{.ID}}">{{.Title}}</a> {{if .ForumName}}<a href="/forum/{{.ParentID}}" style="font-size:12px;">{{.ForumName}}</a> {{end}}
|
|
|
|
{{if .Is_Closed}}<span class="username topic_status_e topic_status_closed" style="float: right;position:relative;top:-5px;margin-left:8px;" title="Status: Closed">🔒︎</span>{{end}}
|
|
|
|
<a style="float: right;font-size:12px;">{{.LastReplyAt}}</a>
|
2016-12-21 02:30:32 +00:00
|
|
|
</div>
|
2017-02-06 04:52:19 +00:00
|
|
|
{{else}}<div class="rowitem passive">There aren't any topics yet.{{if .CurrentUser.Perms.CreateTopic}} <a href="/topics/create/">Start one?</a>{{end}}</div>{{end}}
|
2016-12-02 07:38:54 +00:00
|
|
|
</div>
|
|
|
|
{{template "footer.html" . }}
|