From 18de5c3375b4c0e38c38f3951c05002174b69a9a Mon Sep 17 00:00:00 2001 From: kek7198 Date: Sat, 4 Dec 2021 22:54:40 -0600 Subject: [PATCH] fix --- files/templates/submission.html | 100 ++++++++++++++++---------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/files/templates/submission.html b/files/templates/submission.html index de69e35b7e..7fac2c1fe9 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -227,7 +227,7 @@
-
+
@@ -368,67 +368,67 @@
-
+ +
-

-								{% endif %}
-
-								{{p.realbody(v) | safe}}
-
-								{% for c in p.options %}
-								
- - -
- {% endfor %} - - {% if p.is_banned and p.ban_reason %} -
removed by @{{p.ban_reason}}
- {% endif %} - - - -
+

+							{% endif %}
 
-							{% if p.embed_url %}
-							{% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["light", "coffee", "4chan"]) %}
-							{% include "embeds/twitterlight.html" %}
-							{% elif "twitter.com" in p.domain %}
-							{% include "embeds/twitter.html" %}
-							{% elif "youtu" in p.domain %}
-							{% include "embeds/youtube.html" %}
-							{% endif %}
+							{{p.realbody(v) | safe}}
+
+							{% for c in p.options %}
+							
+ + +
+ {% endfor %} + + {% if p.is_banned and p.ban_reason %} +
removed by @{{p.ban_reason}}
{% endif %} + + + +
- {% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and not v.is_suspended %} - {% include "/submission/SubmissionEditForm.html" %} + {% if p.embed_url %} + {% if p.domain == "twitter.com" and (v and v.theme.split("_")[0] in ["light", "coffee", "4chan"]) %} + {% include "embeds/twitterlight.html" %} + {% elif "twitter.com" in p.domain %} + {% include "embeds/twitter.html" %} + {% elif "youtu" in p.domain %} + {% include "embeds/youtube.html" %} {% endif %} + {% endif %} +
- {% if p.embed_url and "http" not in p.embed_url %} -
-
-
-
- {{ p.embed_url | post_embed(v) | safe }} -
+ {% if v and (v.id==p.author_id or v.admin_level==6 and v.id in [1,28,995,2513]) and not v.is_suspended %} + {% include "/submission/SubmissionEditForm.html" %} + {% endif %} + + {% if p.embed_url and "http" not in p.embed_url %} +
+
+
+
+ {{ p.embed_url | post_embed(v) | safe }}
- {% endif %} - -
- - - + {% endif %}
+ + + +
+ -
+
{% if not p.is_image and not (p.url and p.url.lower().endswith('.mp4')) %}
@@ -516,7 +516,7 @@ {% endif %}
-
+
  • @@ -561,7 +561,7 @@
-
+