From 45a0bd79fd0f45af03732b0b1c525a18853e79f5 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 24 Nov 2020 11:28:17 -0800 Subject: [PATCH] Very basic image display --- bookwyrm/templates/snippets/status_content.html | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/bookwyrm/templates/snippets/status_content.html b/bookwyrm/templates/snippets/status_content.html index d597c707..eac37271 100644 --- a/bookwyrm/templates/snippets/status_content.html +++ b/bookwyrm/templates/snippets/status_content.html @@ -18,6 +18,13 @@ {% if status.content and status.status_type != 'GeneratedNote' and status.status_type != 'Boost' %} {% include 'snippets/trimmed_text.html' with full=status.content|safe %} {% endif %} + {% if status.attachments %} +
+ {% for attachment in status.attachments.all %} + + {% endfor %} +
+ {% endif %} {% if not hide_book %}