@@ -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 %}
+
-
-
-
- {{ 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 %}
-
-
-
-
-
- {% include "/submission/SubmissionActions.html" %}
+ {% endif %}
+
+
+ {% include "/submission/SubmissionActions.html" %}
+
+
+
+
@@ -505,7 +505,7 @@
-