forked from leftypol/leftypol
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:
parent
f7b6693c02
commit
53ada6a5ff
4 changed files with 15 additions and 3 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue