From df21128f497b097bd5c1e57258869c648e5e3b2a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 2 Oct 2021 02:28:27 +0200 Subject: [PATCH] sdfdsf --- files/templates/submission.html | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index f15faf90d2..46a3ccf5a9 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -34,6 +34,28 @@ {% endif %} + +{% if 'marsey.tech' in request.host %} + {% if v %} + {% include "award_modal.html" %} + {% include "emoji_modal.html" %} + {% include "gif_modal.html" %} + {% if v.admin_level == 6 %} + {% include "ban_modal.html" %} + {% endif %} + {% endif %} + {% include "expanded_image_modal.html" %} +{% endif %} + +{% if v and v.id==p.author_id %} + {% include "delete_post_modal.html" %} +{% endif %} + +{% if v %} + {% include "report_post_modal.html" %} +{% endif %} + + {% if p.award_count("shit") %} {% set minbugs = 10*p.award_count("shit") if p.award_count("shit") < 3 else 20 %} @@ -683,14 +705,6 @@ -{% if v and v.id==p.author_id %} - {% include "delete_post_modal.html" %} -{% endif %} - -{% if v %} - {% include "report_post_modal.html" %} -{% endif %} -