From 39476e9bfa5d2f4b041499ffd17e5338653fd543 Mon Sep 17 00:00:00 2001 From: 8chan Date: Wed, 18 Feb 2015 16:55:48 -0800 Subject: [PATCH] Fix no country flag on post if forced anonymous --- templates/post_form.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/templates/post_form.html b/templates/post_form.html index 9f99157f..421ecfe8 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -15,7 +15,7 @@ {{ antibot.html() }} - {% if config.allow_no_country and config.country_flags %} {% endif %} + {{ antibot.html() }} {% endif %} @@ -144,12 +144,18 @@ {% endif %} - {% if mod and ((not id and post.mod|hasPermission(config.mod.sticky, board.uri)) or (not id and post.mod|hasPermission(config.mod.lock, board.uri)) or post.mod|hasPermission(config.mod.rawhtml, board.uri)) %} + {% if (mod and ((not id and post.mod|hasPermission(config.mod.sticky, board.uri)) or (not id and post.mod|hasPermission(config.mod.lock, board.uri)) or post.mod|hasPermission(config.mod.rawhtml, board.uri))) or (config.allow_no_country and config.country_flags) %} {% trans %}Flags{% endtrans %} + {% if config.allow_no_country and config.country_flags %}
+ + +
{% endif %} + + {% if mod %} {% if not id and post.mod|hasPermission(config.mod.sticky, board.uri) %}

@@ -162,6 +168,7 @@
{% endif %} + {% endif %} {% endif %}