diff --git a/bookwyrm/templates/snippets/shelve_button.html b/bookwyrm/templates/snippets/shelve_button.html index e1eee0f25..db2778719 100644 --- a/bookwyrm/templates/snippets/shelve_button.html +++ b/bookwyrm/templates/snippets/shelve_button.html @@ -9,13 +9,15 @@ Read {% elif active_shelf.identifier == 'reading' %} - + I'm done! + {% include 'snippets/finish_reading_modal.html' %} {% elif active_shelf.identifier == 'to-read' %} - + Start reading + {% include 'snippets/start_reading_modal.html' %} {% else %} {% csrf_token %} @@ -26,19 +28,22 @@ {% endif %} - - More shelves + + + More shelves + - + {% for shelf in request.user.shelf_set.all %} {% if shelf.identifier == 'reading' and active_shelf.identifier != 'reading' %} - + {{ shelf.name }} + {% include 'snippets/start_reading_modal.html' %} {% else %} @@ -57,94 +62,5 @@ - - - - - - - Start "{{ book.title }}" - - - - - {% csrf_token %} - - - - Started reading - - - - - - - - - - - - - - - - - - Finish "{{ book.title }}" - - - {% active_read_through book user as readthrough %} - - - {% csrf_token %} - - - - - Started reading - - - - - - Finished reading - - - - - - - - - - {% endwith %} {% endif %}
Start "{{ book.title }}"
Finish "{{ book.title }}"