From 1a3aaae445d8fd5405453703b1554f5754a946c9 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Tue, 7 Sep 2021 18:30:22 +0200 Subject: [PATCH] fd --- files/templates/submission_listing.html | 44 ++++++++++++------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 267db1886..b71d159ea 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -393,28 +393,28 @@ {% endif %} -{% if not v or v.cardview %} - {% if p.is_image %} -
- - Unable to load image - -
- {% elif p.is_video %} -
- -
- {% elif p.embed_url and "youtu" in p.domain %} -
- -
- {% elif p.url and "streamable.com/e/" in p.url %} -
- -
- {% endif %} +{% if p.is_image and (not v or v.cardview) %} +
+ + Unable to load image + +
+{% endif %} + +{% if p.is_video %} +
+ +
+{% elif p.embed_url and "youtu" in p.domain %} +
+ +
+{% elif p.url and "streamable.com/e/" in p.url %} +
+ +
{% endif %} {% else %}