diff --git a/files/templates/submission.html b/files/templates/submission.html index 6f8232dd8b..f5b5812158 100644 --- a/files/templates/submission.html +++ b/files/templates/submission.html @@ -80,7 +80,7 @@ -{% if p..url.lower().endswith('.mp4') %} +{% if p.url.lower().endswith('.mp4') %} {% endif %} @@ -109,7 +109,7 @@ -{% if p..url.lower().endswith('.mp4') %} +{% if p.url.lower().endswith('.mp4') %} {% endif %} @@ -316,7 +316,7 @@

 
-							{% elif not p.embed_url and not p.is_image and not p..url.lower().endswith('.mp4') %}
+							{% elif not p.embed_url and not p.is_image and not p.url.lower().endswith('.mp4') %}
 								
 									
{{p.domain|truncate(30, True)}} @@ -335,7 +335,7 @@

-							{% elif p..url.lower().endswith('.mp4') %}
+							{% elif p.url.lower().endswith('.mp4') %}
 								
- {% if not p.is_image and not p..url.lower().endswith('.mp4') %} + {% if not p.is_image and not p.url.lower().endswith('.mp4') %}
diff --git a/files/templates/submission_listing.html b/files/templates/submission_listing.html index 5bee946bfd..8f4a386d6b 100644 --- a/files/templates/submission_listing.html +++ b/files/templates/submission_listing.html @@ -102,7 +102,7 @@ - {% elif p..url.lower().endswith('.mp4') or (p.embed_url and "youtu" in p.domain) or (p.url and "streamable.com/e/" in p.url) %} + {% elif p.url.lower().endswith('.mp4') or (p.embed_url and "youtu" in p.domain) or (p.url and "streamable.com/e/" in p.url) %} @@ -443,7 +443,7 @@
{% endif %} - {% if p..url.lower().endswith('.mp4') %} + {% if p.url.lower().endswith('.mp4') %}