gosora/templates/panel_adminlogs.html
Azareal 1044518e74 Finish up the adminlogs.
Throw an error instead of updating a word filter that doesn't exist.
Track a bit of extra data for word filter updates.

Shorten the prefixes of the adminlog phrases from panel_logs_administration_ to panel_logs_admin_
Add a bunch of new adminlog phrases.
Tweak the word filter phrases.

Add the extra column to the moderation_logs and administration_logs tables.

You need to run the updater / patcher for this commit.
2019-11-10 12:37:53 +10:00

22 lines
658 B
HTML

<div class="colstack_item colstack_head">
<div class="rowitem"><h1>{{lang "panel_logs_admin_head"}}</h1></div>
</div>
<div id="panel_modlogs" class="colstack_item rowlist loglist">
{{range .Logs}}
<div class="rowitem panel_compactrow">
<span class="to_left">
<span>{{.Action}}</span>
{{if $.CurrentUser.Perms.ViewIPs}}<br /><small title="{{.IP}}">{{.IP}}</small>{{end}}
</span>
<span class="to_right">
<span title="{{.DoneAt}}">{{.DoneAt}}</span>
</span>
<div style="clear:both;"></div>
</div>
{{else}}
<div class="rowitem rowmsg">
<a>{{lang "panel_logs_admin_no_logs"}}</a>
</div>
{{end}}
</div>
{{template "paginator.html" . }}