summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-18 08:47:34 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-18 08:47:34 +1000
commit3471f7c6684b12b63626af33ae408fd13544cae9 (patch)
tree4536ea053a5c01548d6de1c43c1e5a7699f65050 /templates
parent803f0c8ce1487ea791824197de9d1ee140127838 (diff)
Optionally show post user was banned for
Diffstat (limited to 'templates')
-rw-r--r--templates/banned.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/banned.html b/templates/banned.html
index 065d61e2..55dbffe0 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -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 %}