diff --git a/files/templates/comments.html b/files/templates/comments.html index 793ec7d87..1e9123b3e 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -26,30 +26,21 @@
- {% if render_replies %} - {% if level <= RENDER_DEPTH_LIMIT - 1 %} -
- {% set standalone=False %} + {% if render_replies %} +
+ {% if level <= RENDER_DEPTH_LIMIT - 1 %} + {% set standalone=false %} {% for reply in replies %} {{single_comment(reply, level=level+1)}} {% endfor %} + {% endif %} +
+ {% if replies and level >= RENDER_DEPTH_LIMIT -%} +
+ {% if not is_notification_page %}{% endif %} + More comments
- {% elif replies and is_notification_page %} -
- {% set standalone=False %} - {% for reply in replies %} - {{single_comment(reply, level=level+1)}} - {% endfor %} -
- - {% elif replies %} -
- - More comments -
- {% endif %} + {%- endif %} {% endif %}