summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-09 19:55:25 +0000
committerctrlcctrlv <wizardchan@hush.com>2013-08-09 19:55:25 +0000
commitefcec134390988ce55c2c8dba986f21672dc6cf7 (patch)
treecbd0168233b1830c298970618e388cb1288f2b37
parentecb15c7dcb69a0579554555643aa33f6c1322eb0 (diff)
Option to have a message on the ban page
-rw-r--r--templates/banned.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/banned.html b/templates/banned.html
index b052cd41..401c36e5 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -77,7 +77,9 @@
</p>
<p>{% trans %}Your IP address is{% endtrans %} <strong>{{ ban.ip }}</strong>.</p>
- <p>{{ config.ban_page_message }}</p>
+ {% if config.ban_page_message %}
+ <p>{{ config.ban_page_message }}</p>
+ {% endif %}
</div>
{% endfilter %}