mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-13 03:36:35 +00:00
Only show update option when there's an active readthrough
This commit is contained in:
parent
691f9c01c4
commit
ae840002de
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if dropdown %}
|
{% if dropdown %}
|
||||||
|
|
||||||
{% if readthrough and active_shelf.shelf.identifier != 'read' %}
|
{% if readthrough and not readthrough.finish_date and active_shelf.shelf.identifier != 'read' %}
|
||||||
<li role="menuitem" class="dropdown-item p-0">
|
<li role="menuitem" class="dropdown-item p-0">
|
||||||
{% trans "Update progress" as button_text %}
|
{% trans "Update progress" as button_text %}
|
||||||
{% include 'snippets/toggle/toggle_button.html' with class=class text=button_text controls_text="progress_update" controls_uid=button_uuid focus="modal_title_progress_update" %}
|
{% include 'snippets/toggle/toggle_button.html' with class=class text=button_text controls_text="progress_update" controls_uid=button_uuid focus="modal_title_progress_update" %}
|
||||||
|
|
Loading…
Reference in a new issue