Optionally show post user was banned for

This commit is contained in:
Michael Foster
2013-09-18 08:47:34 +10:00
parent 803f0c8ce1
commit 3471f7c668
5 changed files with 47 additions and 14 deletions

View File

@@ -77,6 +77,13 @@
</p>
<p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p>
{% if post %}
<hr>
<p>You were banned for the following post:</p>
{{ post }}
<br>
{% endif %}
{% if config.ban_page_extra %}
<p>{{ config.ban_page_extra }}</p>
{% endif %}