-
+ {% 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 %}
|
diff --git a/templates/post_reply.html b/templates/post_reply.html
index f4a20f04..73ff2c15 100644
--- a/templates/post_reply.html
+++ b/templates/post_reply.html
@@ -63,7 +63,7 @@
, {{ post.ratio }}
{% endif %}
{% endif %}
- {% if config.show_filename %}
+ {% if config.show_filename and post.filename %}
,
{% if post.filename|length > config.max_filename_display %}