From 467c2f9dd1acd902e5a83e4cfaa2ba0b276b6717 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Sun, 5 Dec 2021 15:35:03 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 14 +++++++------- files/templates/submission_listing.html | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index f1c9904e86..911b8d5da7 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -676,19 +676,19 @@ {% endblock %} {% block modals %} - {% if v and v.id==p.author_id %} - {% include "delete_post_modal.html" %} - {% endif %} - {% 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" %} - {% endif %} - {% if v.admin_level == 6 %} - {% include "ban_modal.html" %} + {% if v.admin_level == 6 %} + {% include "ban_modal.html" %} + {% endif %} {% endif %} {% include "/modals/ModalSubmissionActions.html" %} diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 889dbe9889..95f6e57f7c 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -409,6 +409,8 @@ {% include "ban_modal.html" %} {% endif %} {% endif %} + +{% include "/modals/ModalSubmissionActions.html" %} {% include "expanded_image_modal.html" %} {% block popovers %}