From 2a6c67c4275a1c6edeb0191d6eb7cd0ee6d26c03 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Mon, 18 Jan 2021 12:25:26 -0800 Subject: [PATCH] Correct placement of shelve pulldown --- bookwyrm/templates/snippets/shelve_button.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/bookwyrm/templates/snippets/shelve_button.html b/bookwyrm/templates/snippets/shelve_button.html index 6630ed53..f69ab525 100644 --- a/bookwyrm/templates/snippets/shelve_button.html +++ b/bookwyrm/templates/snippets/shelve_button.html @@ -4,11 +4,12 @@ {% with book.id|uuid as uuid %} {% active_shelf book as active_shelf %}
+ {% if switch_mode and active_shelf.book != book %}
- {% if switch_mode and active_shelf.book != book %} {% include 'snippets/switch_edition_button.html' with edition=book size='is-small' %} - {% else %} - +
+ {% else %} +
{% if active_shelf.shelf.identifier == 'read' %} {% endif %} +
{% include 'snippets/shelve_button_dropdown.html' with class="is-small" button_uuid=uuid%} {% endif %} -
{% include 'snippets/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %}