From f950a4f9d8eb47df7311a8c1839955d48665ce94 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Sat, 4 Dec 2021 19:52:26 -0600 Subject: [PATCH] fix --- files/templates/comments.html | 383 ++++++++++++++++++---------------- 1 file changed, 207 insertions(+), 176 deletions(-) diff --git a/files/templates/comments.html b/files/templates/comments.html index e680f242e..8ea326b3a 100644 --- a/files/templates/comments.html +++ b/files/templates/comments.html @@ -28,6 +28,7 @@ {% if v %} {% include "award_modal.html" %} + {% endif %} @@ -35,14 +36,110 @@ {% endif %} - + {% include "expanded_image_modal.html" %} + + {% macro single_comment(c, level=1) %} +{% if p and not (v and v.id==c.author_id) and (not v or v.highlightcomments) %} + +{% endif %} + + + + + {% set ups=c.upvotes %} {% set downs=c.downvotes %} {% set score=ups-downs %} @@ -171,180 +268,7 @@
-
- - - {% if c.active_flags %} - - {% endif %} - - {% if c.is_banned and c.ban_reason %} -
Removed by @{{c.ban_reason}}
- {% endif %} - -
- {{c.realbody(v) | safe}} - {% if c.options %} - {% for o in c.options %} -
- - -
- {% endfor %} -

-				{% endif %}
-
-				{% if c.author.sig_html and (c.author_id == 1904 or not (v and v.sigs_disabled)) %}
-					
- {{c.author.sig_html | safe}} - {% endif %} - - - {% if not c.parent_submission and c.author_id!=NOTIFICATIONS_ID and c.author_id!=AUTOJANNY_ID and c.author_id!=v.id %} - Reply -

-					
-				{% endif %}
-			
- {% if c.parent_submission %} - - {% if v and v.id==c.author_id %} - {% include "/comments/CommentEditForm.html" %} - {% endif %} - -
- {% include "/comments/CommentActions.html" %} -
- {% endif %} - -
+ test