summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/banned.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/banned.html b/templates/banned.html
index 33f9d9f8..b4cdf3f9 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -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 %}