added option for showing the mod in ban page.
also fixes issue where the Staff is not shown in ban appeals.
This commit is contained in:
@@ -30,7 +30,15 @@
|
||||
{% endif %}
|
||||
<p>
|
||||
{% trans %}Your ban was filed on{% endtrans %}
|
||||
<strong>{{ ban.created|date(config.ban_date) }}</strong> {% trans %}and{% endtrans %} <span id="expires">
|
||||
<strong>{{ ban.created|date(config.ban_date) }}</strong>
|
||||
{% if config.show_modname %}
|
||||
{% if ban.username %}
|
||||
{% trans %}by{% endtrans %} <strong> {{ ban.username }} </strong>
|
||||
{% else %}
|
||||
{% trans %}by{% endtrans %} <em> 'system' </em>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% trans %}and{% endtrans %} <span id="expires">
|
||||
{% if ban.expires and time() >= ban.expires %}
|
||||
{% trans %} has since expired. Refresh the page to continue.{% endtrans %}
|
||||
{% elseif ban.expires %}
|
||||
|
Reference in New Issue
Block a user