From b503920699344fab6966ad1ed06d7439c2158b9e Mon Sep 17 00:00:00 2001 From: fireworks88 Date: Sun, 5 Sep 2021 21:57:50 +0200 Subject: [PATCH] ijd4iuhu --- files/templates/submission_listing.html | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 03074f41a6..1bd8bc397d 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -216,12 +216,20 @@ -{% if p.is_image and (not v or v.cardview) %} -
- - Unable to load image - -
+{% if not v or v.cardview %} + {% if p.is_image %} +
+ + Unable to load image + +
+ {% elif p.is_video %} +
+ +
+ {% endif %} {% endif %} {% if p.realbody(v) %}