From 53ada6a5ff71a04a9970faef7f2623a201a95dc9 Mon Sep 17 00:00:00 2001 From: Juan Tamad Date: Mon, 1 Sep 2014 06:30:33 +0800 Subject: added option for showing the mod in ban page. also fixes issue where the Staff is not shown in ban appeals. --- templates/banned.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/banned.html') 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 %}

{% trans %}Your ban was filed on{% endtrans %} - {{ ban.created|date(config.ban_date) }} {% trans %}and{% endtrans %} + {{ ban.created|date(config.ban_date) }} + {% if config.show_modname %} + {% if ban.username %} + {% trans %}by{% endtrans %} {{ ban.username }} + {% else %} + {% trans %}by{% endtrans %} 'system' + {% endif %} + {% endif %} + {% trans %}and{% endtrans %} {% if ban.expires and time() >= ban.expires %} {% trans %} has since expired. Refresh the page to continue.{% endtrans %} {% elseif ban.expires %} -- cgit v1.3