From 902da76433fbcedc083971f60c4e4fbd7a100b6e Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Sat, 21 Sep 2013 12:58:12 +1000 Subject: [PATCH] don't show ban appeal for short bans --- templates/banned.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@
{% endif %} - {% if config.ban_appeals %} + {% if config.ban_appeals and (not ban.expires or ban.expires - ban.created > config.ban_appeals_min_length )%}
{% if pending_appeal %}