From 6961f5b8b5da98413468bb888eb24254e78970ae Mon Sep 17 00:00:00 2001 From: Marcin Ɓabanowski Date: Tue, 2 Jul 2013 18:05:18 -0400 Subject: post_form: move submit button upper when thread field is disabled --- templates/post_form.html | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'templates/post_form.html') diff --git a/templates/post_form.html b/templates/post_form.html index 1727250b..e5cb423c 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -24,24 +24,22 @@ {{ antibot.html() }} + {% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} + {% if config.spoiler_images %} {% endif %} + {% endif %} {% endif %} - - {% if not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} + {% if not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} + {% trans %}Subject{% endtrans %} {{ antibot.html() }} - {% else %} - {% trans %}Submit{% endtrans %} - {{ antibot.html() }} - - - {% endif %} {% if config.spoiler_images %} {% endif %} + {% endif %} {% trans %}Comment{% endtrans %} @@ -50,6 +48,11 @@ {{ antibot.html() }} + {% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} + {% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %} + {% if config.spoiler_images %} {% endif %} + {% endif %} + {% endif %} {% if config.recaptcha %} -- cgit v1.3 From 786ac5c55cf151ffcb942d78554c5ae06471eda0 Mon Sep 17 00:00:00 2001 From: czaks Date: Tue, 16 Jul 2013 13:18:55 -0400 Subject: recaptcha: fix for https --- templates/post_form.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/post_form.html') diff --git a/templates/post_form.html b/templates/post_form.html index e5cb423c..07b53a9f 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -62,7 +62,7 @@ {{ antibot.html() }} - + {{ antibot.html() }} -- cgit v1.3