From 716d8a766ae0c4e2539f2df601269a3203bcd715 Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Wed, 16 Nov 2022 23:00:10 -0700 Subject: Show post images --- templates/activities/_post.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates') diff --git a/templates/activities/_post.html b/templates/activities/_post.html index 6392c89..9d8db3b 100644 --- a/templates/activities/_post.html +++ b/templates/activities/_post.html @@ -41,6 +41,16 @@ {{ post.safe_content }} + {% if post.attachments.exists %} +
+ {% for attachment in post.attachments.all %} + {% if attachment.is_image %} + + {% endif %} + {% endfor %} +
+ {% endif %} + {% if request.identity %}
{% include "activities/_like.html" %} -- cgit v1.2.3