diff options
| author | Juan Tamad <juanchanph@gmail.com> | 2014-09-01 06:30:33 +0800 |
|---|---|---|
| committer | Juan Tamad <juanchanph@gmail.com> | 2014-09-01 06:30:33 +0800 |
| commit | 53ada6a5ff71a04a9970faef7f2623a201a95dc9 (patch) | |
| tree | 03e7a8e79fef845f4ad0d24d1861c01bdbfe0e52 /templates | |
| parent | f7b6693c027ae42f791cdadd6625e48a58c732db (diff) | |
added option for showing the mod in ban page.
also fixes issue where the Staff is not shown in ban appeals.
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/banned.html | 10 |
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 %} |
