summaryrefslogtreecommitdiff
path: root/templates/banned.html
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-21 12:58:12 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-21 12:58:12 +1000
commit902da76433fbcedc083971f60c4e4fbd7a100b6e (patch)
tree9a55308cb4fc08e7d4891f5981fa78e5953a160f /templates/banned.html
parenta9b7f9b1bc88b196a165ebb1bb74d01081d1e6fd (diff)
don't show ban appeal for short bans
Diffstat (limited to 'templates/banned.html')
-rw-r--r--templates/banned.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/banned.html b/templates/banned.html
index 666521a4..1a9a3915 100644
--- a/templates/banned.html
+++ b/templates/banned.html
@@ -88,7 +88,7 @@
<br>
{% endif %}
- {% if config.ban_appeals %}
+ {% if config.ban_appeals and (not ban.expires or ban.expires - ban.created > config.ban_appeals_min_length )%}
<hr>
{% if pending_appeal %}
<p>