From f07ad1b700827dbf051748e7930fd42519c6c930 Mon Sep 17 00:00:00 2001 From: Ben Rog-Wilhelm Date: Wed, 9 Aug 2023 02:30:00 -0500 Subject: [PATCH] Fix: Reply button doesn't reliably appear and shows up in the wrong place. --- files/templates/comments.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 93afd835e..6ceef0d21 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -119,6 +119,10 @@ {%- include 'component/comment/replybox_comment.html' -%} + {% if is_notification_page and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %} + {%- include 'component/comment/replybox_message.html' -%} + {% endif %} + {% if render_replies %} {% if level <= RENDER_DEPTH_LIMIT - 1 or is_notification_page %}
@@ -135,10 +139,6 @@ {% else %}
{% endif %} - - {% if is_notification_page and c.level == 1 and c.is_strict_message and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %} - {%- include 'component/comment/replybox_message.html' -%} - {% endif %}
{%- include 'component/comment/actions_mobile.html' -%}