From 2bc21b2af7784c573de523c76b256e55a97d9e76 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 14 Feb 2022 22:43:47 +0200 Subject: [PATCH] bn --- files/templates/comments.html | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index 3d0d8da1b6..70118a60d5 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -172,7 +172,7 @@ {% endif %} -{% if c.sentto and c.level > 2 and c.created_utc > 1641340623 %} +{% if c.sentto and c.level > 1 and c.created_utc > 1641340623 %} {% set isreply = True %} {% else %} {% set isreply = False %} @@ -620,7 +620,20 @@ {% if render_replies %} - {% if request.path == '/notifications' and not replies and c.sentto != None and not c.parent_submission and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %} + {% if level<9 or request.path == '/notifications' %} +
+ {% for reply in replies %} + {{single_comment(reply, level=level+1)}} + {% endfor %} +
+ {% elif replies %} +
+ + More comments +
+ {% endif %} + + {% if request.path == '/notifications' and c.level == 1 and c.sentto != None and not c.parent_submission and c.author_id not in (NOTIFICATIONS_ID, AUTOJANNY_ID) %} Reply

 			
@@ -640,17 +653,6 @@
- {% elif level<9 or request.path == '/notifications' %} -
- {% for reply in replies %} - {{single_comment(reply, level=level+1)}} - {% endfor %} -
- {% elif replies %} -
- - More comments -
{% endif %} {% endif %}