Added the no reason set message on the bans page

This commit is contained in:
Wruczek 2019-01-05 15:30:26 +01:00
parent c7371b0fc0
commit 81495b21c4
1 changed files with 7 additions and 1 deletions

View File

@ -50,7 +50,13 @@
{var $expiretime = $ban["created"] + $ban["duration"]}
<tr>
<td>{$ban["name"]}</td>
<td>{$ban["reason"]}</td>
<td>
{if $ban["reason"]}
{$ban["reason"]}
{else}
{_"NO_REASON_SET"|noescape}
{/if}
</td>
<td>{$ban["invoker"]}</td>
<td data-order="{$ban["created"]}">{$ban["created"]|fullDate}</td>
<td data-order="{$ban["duration"]}">{$ban["duration"] ? ($expiretime|fuzzyDateAbbr) : ("BANS_NEVEREXPIRES"|translate)}</td>