From d4ab3391737a1f37eed71eba09f7d2210ba9d6b6 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Wed, 24 Apr 2024 12:46:23 +0200 Subject: [PATCH] feat: show gif media --- templates/threads.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/templates/threads.html b/templates/threads.html index 1ed17fd..c67ab07 100644 --- a/templates/threads.html +++ b/templates/threads.html @@ -68,9 +68,14 @@
{{thread.content | safe}} - {% for media in thread.media_attachments%} + {% for media in thread.media_attachments %} {% if media.type == 'image'%} + {% elif media.type == 'gifv' %} + {% endif %} {% endfor %}
@@ -87,6 +92,11 @@ {% for media in descendant.media_attachments%} {% if media.type == 'image'%} + {% elif media.type == 'gifv' %} + {% endif %} {% endfor %}