From 05de50fb877594055fb7b402dab9fd64fa17b8d1 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Fri, 10 Dec 2021 18:54:30 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index 871d60ea6e..ebeedd33f0 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -483,7 +483,7 @@ {% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and not v.is_suspended %}
- {% include "/submission/SubmissionEditForm.html" %} +
{% endif %} @@ -503,7 +503,7 @@ @@ -550,7 +550,7 @@
- {% include "/submission/SubmissionActionsMobile.html" %} +
@@ -612,7 +612,7 @@ - {% include "/comments/CommentForm.html" %} + {% endif %} @@ -635,7 +635,7 @@ {% if p.replies %}
{% with comments=p.replies %} - {% include "comments.html" %} + {% endwith %}
{% elif not p.replies and p.deleted_utc == 0 %} @@ -665,32 +665,27 @@ {% block sidebar %} - {% include "/sidebars/SubmissionSidebar.html" %} + {% endblock %} {% block modals %} {% if v %} {% if v.id == p.author_id %} - {% include "delete_post_modal.html" %} + {% endif %} - {% include "report_post_modal.html" %} - {% include "award_modal.html" %} - {% include "emoji_modal.html" %} - {% include "gif_modal.html" %} {% if v.admin_level == 6 %} - {% include "ban_modal.html" %} + {% endif %} {% endif %} - {% include "/modals/ModalSubmissionActions.html" %} - {% include "expanded_image_modal.html" %} + {% endblock %} {% block scripts %} - {% include "/submission/SubmissionAwards.html" %} + {% if v %}