diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 1bd8bc397..2b6cdb1f7 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -216,20 +216,18 @@ -{% if not v or v.cardview %} - {% if p.is_image %} -
- - Unable to load image - -
- {% elif p.is_video %} -
- -
- {% endif %} +{% if p.is_image and not (v and not v.cardview) %} +
+ + Unable to load image + +
+{% elif p.is_video %} +
+ +
{% endif %} {% if p.realbody(v) %}