New bans page format
- Favor showing banned user's name if available - Support for MyTSID bans - Show the ban type alongside it (is it a UID / IP / MyTSID ban?) - Fixed a bug that caused the banned-ip alerts to not display if user's last name was known
This commit is contained in:
0
src/private/cache/.gitkeep
vendored
0
src/private/cache/.gitkeep
vendored
@@ -38,7 +38,7 @@
|
||||
<table id="banlist" class="table display dt-responsive no-wrap" width="100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th data-priority="1">{_"BANS_HEADER_NAME"}</th>
|
||||
<th data-priority="1">{_"BANS_HEADER_TARGET"}</th>
|
||||
<th data-priority="3">{_"BANS_HEADER_REASON"}</th>
|
||||
<th>{_"BANS_HEADER_INVOKER"}</th>
|
||||
<th>{_"BANS_HEADER_BANDATE"}</th>
|
||||
@@ -49,7 +49,7 @@
|
||||
{foreach $banlist as $ban}
|
||||
{var $expiretime = $ban["created"] + $ban["duration"]}
|
||||
<tr>
|
||||
<td>{$ban["name"]}</td>
|
||||
<td data-filter="{$ban["filter"]}">{$ban["target"]}</td>
|
||||
<td>
|
||||
{if $ban["reason"]}
|
||||
{$ban["reason"]}
|
||||
|
Reference in New Issue
Block a user