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" %}