Only show "stop" option when a book is in progress

This commit is contained in:
Mouse Reeve 2022-05-26 12:27:44 -07:00
parent 4905652e22
commit c5f5d4d994

View file

@ -9,7 +9,7 @@
{% if not is_current %}
<li role="menuitem" class="dropdown-item p-0">
<div
class="{% if next_shelf_identifier == shelf.identifier %}is-hidden{% endif %}"
class="{% if next_shelf_identifier == shelf.identifier %}is-hidden{% elif shelf.identifier == 'stopped-reading' and active_shelf.shelf.identifier != "reading" %}is-hidden{% endif %}"
data-shelf-dropdown-identifier="{{ shelf.identifier }}"
data-shelf-next="{{ shelf.identifier|next_shelf }}"
>