From 6824bdd5ed3bf67833a0b42fca0f5e556084541e Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Sun, 31 Jan 2021 12:30:33 -0800 Subject: [PATCH] Fixes shelve menu display --- bookwyrm/templates/lists/list.html | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/bookwyrm/templates/lists/list.html b/bookwyrm/templates/lists/list.html index 8764d61b4..569b17471 100644 --- a/bookwyrm/templates/lists/list.html +++ b/bookwyrm/templates/lists/list.html @@ -3,35 +3,32 @@ {% block panel %} {% if request.user == list.user and pending_count %} -
+ {% endif %} -
+
{% if not items.exists %}

This list is currently empty

{% else %}
    {% for item in items %} -
  1. +
  2. -
    - {% include 'snippets/book_cover.html' with book=item.book size="medium" %} -
    +
    + +
    {% include 'snippets/book_titleby.html' with book=item.book %} {% include 'snippets/stars.html' with rating=item.book|rating:request.user %} {% include 'snippets/shelve_button.html' with book=item.book %}
    -
    - {% if item.note %} -
    - {% include 'snippets/trimmed_text.html' with full=item.note %}
    - {% endif %}