6a320edbb4
Profile owners can now moderate their own profiles. Fixed an issue with database entries being set as null. A message now appears when there aren't any topics in a forum or in the global topics list. Added the link to the current user's profile to the main menu. Database Changes. not nulled some columns. Added is_mod column to users_groups. Added the Moderator usergroup.
15 lines
744 B
HTML
15 lines
744 B
HTML
{{template "header.html" . }}
|
|
<div class="rowblock">
|
|
<div class="rowitem"><a>{{ .Title }}</a></div>
|
|
</div>
|
|
<div class="rowblock">
|
|
{{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;{{end}}">
|
|
<a href="/topic/{{.ID}}">{{.Title}}</a> {{if .Is_Closed}}<span class="topic_status topic_status_closed">closed</span>{{else}}<span class="topic_status topic_status_open">open</span>{{end}}
|
|
</div>{{end}}
|
|
</div>
|
|
{{if .Something}}
|
|
<div class="rowblock">
|
|
<div class="rowitem passive">{{.Something}}</div>
|
|
</div>
|
|
{{end}}
|
|
{{template "footer.html" . }} |