Unshelve option in shelve button menu

This commit is contained in:
Mouse Reeve
2021-03-29 12:27:12 -07:00
parent 91b81de8a7
commit 794b47d119
2 changed files with 18 additions and 1 deletions

View File

@ -3,6 +3,7 @@
{% with book.id|uuid as uuid %}
{% active_shelf book as active_shelf %}
{% latest_read_through book request.user as readthrough %}
<div class="field has-addons mb-0">
{% if switch_mode and active_shelf.book != book %}
<div class="control">
@ -20,7 +21,6 @@
{% include 'snippets/shelve_button/start_reading_modal.html' with book=active_shelf.book controls_text="start-reading" controls_uid=uuid %}
{% latest_read_through book request.user as readthrough %}
{% include 'snippets/shelve_button/finish_reading_modal.html' with book=active_shelf.book controls_text="finish-reading" controls_uid=uuid readthrough=readthrough %}
{% include 'snippets/shelve_button/progress_update_modal.html' with book=shelf_book.book controls_text="progress-update" controls_uid=uuid readthrough=readthrough %}