From 9177d2c5fc6612d582800df87a51fbb70c095890 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sun, 12 Sep 2021 05:06:00 +0200 Subject: [PATCH] fd --- files/templates/submission_listing.html | 54 +++++++++++++------------ 1 file changed, 28 insertions(+), 26 deletions(-) diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 44442c159a..e18ea99944 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -390,34 +390,36 @@ {% endif %} -{% if p.realbody(v) %} -
- {{p.realbody(v) | safe}} -
-{% endif %} +{% if not p.club or v and v.coins > 150 %} + {% if p.realbody(v) %} +
+ {{p.realbody(v) | safe}} +
+ {% endif %} -{% if p.is_image and not p.over_18 and (not v or v.cardview) %} -
- - Unable to load image - -
-{% endif %} + {% if p.is_image and not p.over_18 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 %} -
- -
+ {% if p.is_video %} +
+ +
+ {% elif p.embed_url and "youtu" in p.domain %} +
+ +
+ {% elif p.url and "streamable.com/e/" in p.url %} +
+ +
+ {% endif %} {% endif %} {% else %}