1
0
Fork 0

Functional switch editions button

This commit is contained in:
Mouse Reeve 2020-12-11 16:57:38 -08:00
parent 72eb94315a
commit 2d7f8ada61
5 changed files with 43 additions and 13 deletions

View file

@ -103,7 +103,7 @@
{% for shelf in other_edition_shelves %}
<p>
A <a href="/book/{{ shelf.book.id }}">different edition</a> of this book is on your <a href="/user/{{ user.localname }}/shelves/{{ shelf.shelf.identifier }}">{{ shelf.shelf.name }}</a> shelf.
{% include 'snippets/switch_edition_button.html' with desired_edition=book %}
{% include 'snippets/switch_edition_button.html' with edition=book %}
</p>
{% endfor %}