From c517ce8afc005e053826cb39ae1295dc30ab7d75 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Fri, 10 Dec 2021 18:45:51 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index 7a72b5154a..e6f4cd12c8 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -47,10 +47,6 @@ } -{% if v %} - -{% endif %} - {% endif %} {% if p.award_count("shit") %} @@ -668,6 +664,26 @@ {% 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" %}