From a16122329f77e60568ac2400af9ed00829c31990 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Tue, 25 Apr 2017 00:47:14 +0900 Subject: Add ['overboard_post_form'] to allow overboard post forms. Adjustments to ukko theme to support this --- templates/post_form.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates/post_form.html') diff --git a/templates/post_form.html b/templates/post_form.html index 0d6b388b..528f9794 100644 --- a/templates/post_form.html +++ b/templates/post_form.html @@ -2,7 +2,9 @@ {{ antibot.html() }} {% if id %}{% endif %} {{ antibot.html() }} +{% if board.uri not in config.overboards|keys %} +{% endif %} {{ antibot.html() }} {% if current_page %} @@ -56,6 +58,14 @@ {% endif %} + {% if board.uri in config.overboards|keys %} + Board + + {% endif %} {% if not config.field_disable_comment or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri)) %} {% trans %}Comment{% endtrans %} -- cgit v1.3