From ab12f0afd1f9e3e4b0129171c6ec387af06795cd Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 9 Aug 2021 18:18:55 +0200 Subject: [PATCH] sneed --- files/templates/submission_listing.html | 31 +++++++------------------ 1 file changed, 9 insertions(+), 22 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 859a75082..ed021aead 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -65,30 +65,17 @@
{% if not p.url %} - - - + + + {% elif p.is_image %} -
- Unable to load image - -
- - {% elif "streamable.com/" in p.realurl(v) %} - {% if "streamable.com/e/" in p.realurl(v) %} - {% set streamurl=p.realurl(v) %} - {% else %} - {% set streamurl=p.realurl(v).replace("streamable.com/", "streamable.com/e/") %} - {% endif %} - -
- Unable to load video -
- + + + {% else %} - - - + + + {% endif %}