From cbccb0725213a4a87b3d01e27088469abd5111b2 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Tue, 20 Apr 2021 11:18:59 -0700 Subject: [PATCH] Fixes display of replies --- bookwyrm/templates/snippets/status/content_status.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bookwyrm/templates/snippets/status/content_status.html b/bookwyrm/templates/snippets/status/content_status.html index 44c52c83..5021ee06 100644 --- a/bookwyrm/templates/snippets/status/content_status.html +++ b/bookwyrm/templates/snippets/status/content_status.html @@ -15,11 +15,13 @@
{% if not hide_book %} {% with book=status.book|default:status.mention_books.first %} + {% if book %}
{% include 'snippets/book_cover.html' with book=book %} {% include 'snippets/stars.html' with rating=book|rating:request.user %} {% include 'snippets/shelve_button/shelve_button.html' with book=book %}
+ {% endif %} {% endwith %} {% endif %}