From 01f2d80cbd6a604bcb0a1b192ebc4c56c1b0e62e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Fri, 30 Apr 2021 13:21:19 -0700 Subject: [PATCH] Show book descriptions in list items --- bookwyrm/templates/lists/list.html | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/bookwyrm/templates/lists/list.html b/bookwyrm/templates/lists/list.html index 9243d3afb..2902f793f 100644 --- a/bookwyrm/templates/lists/list.html +++ b/bookwyrm/templates/lists/list.html @@ -44,8 +44,15 @@
- {% include 'snippets/book_titleby.html' %} - {% include 'snippets/stars.html' with rating=item.book|rating:request.user %} +

+ {% include 'snippets/book_titleby.html' %} +

+

+ {% include 'snippets/stars.html' with rating=item.book|rating:request.user %} +

+

+ {{ book|book_description|to_markdown|default:""|safe|truncatewords_html:20 }} +

{% include 'snippets/shelve_button/shelve_button.html' %}