trigger reading status modals from move button

- unhide reading status shelves
- trigger modals when moving to a read status shelf
- force page refresh when using move button
This commit is contained in:
Hugh Rundle
2021-11-20 08:06:13 +11:00
parent ec39346e67
commit 9ffe4d340e
8 changed files with 68 additions and 7 deletions

View File

@ -161,13 +161,9 @@
{% for shelf in user_shelfbooks %}
<li class="box">
{% blocktrans with path=shelf.shelf.local_path shelf_name=shelf.shelf.name %}<a href="{{ path }}">{{ shelf_name }}</a>{% endblocktrans %}
{% if shelf.shelf.editable %}
<div class="mb-3">
{% include 'snippets/shelf_selector.html' with current=shelf.shelf class="is-small" %}
</div>
{% else %}
{% include 'snippets/shelve_button/shelve_button.html' %}
{% endif %}
</li>
{% endfor %}
</ul>