diff --git a/src/private/templates/bans.latte b/src/private/templates/bans.latte index 1e6d9b5..1b14c4a 100644 --- a/src/private/templates/bans.latte +++ b/src/private/templates/bans.latte @@ -50,7 +50,13 @@ {var $expiretime = $ban["created"] + $ban["duration"]} {$ban["name"]} - {$ban["reason"]} + + {if $ban["reason"]} + {$ban["reason"]} + {else} + {_"NO_REASON_SET"|noescape} + {/if} + {$ban["invoker"]} {$ban["created"]|fullDate} {$ban["duration"] ? ($expiretime|fuzzyDateAbbr) : ("BANS_NEVEREXPIRES"|translate)}