From 082bc038f1766b9e12f79625d8c7505df48ee210 Mon Sep 17 00:00:00 2001 From: kek7198 Date: Wed, 24 Nov 2021 21:10:42 -0600 Subject: [PATCH] fix --- files/templates/submission_listing.html | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 5b2ead6e29..2de3b6f24b 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -222,6 +222,14 @@ {% include "/modals/ModalSubmissionListingActions.html" %} +{% if p.is_image and not p.over_18 and ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %} +
+ + Unable to load image + +
+{% endif %} + {% if not p.club or v and v.paid_dues %} @@ -231,14 +239,6 @@ {% endif %} - {% if p.is_image and not p.over_18 and ((v and v.cardview) or (not v and environ.get('CARD_VIEW') == '1')) %} -
- - Unable to load image - -
- {% endif %} - {% if p.url and p.url.lower().endswith('.mp4') %}