{% extends 'layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load humanize %} {% load utilities %} {% load static %} {% block title %}{{ book|book_title }}{% endblock %} {% block opengraph_images %} {% include 'snippets/opengraph_images.html' with image=book.preview_image %} {% endblock %} {% block content %} {% with user_authenticated=request.user.is_authenticated can_edit_book=perms.bookwyrm.edit_book %}
{% if book.subtitle %} {{ book.subtitle }} {% endif %} {% if book.series %} ({{ book.series }}{% if book.series_number %} #{{ book.series_number }}{% endif %}) {% endif %}
{% endif %} {% if book.authors.exists %}{% trans "Failed to load cover" %}
{% endif %}{% blocktrans with path=book.parent_work.local_path count=book.parent_work.editions.count %}{{ count }} editions{% endblocktrans %}
{% endif %}{% blocktrans with path=shelf.shelf.local_path shelf_name=shelf.shelf.name %}This edition is on your {{ shelf_name }} shelf.{% endblocktrans %} {% include 'snippets/shelf_selector.html' with current=shelf.shelf %}
{% endfor %} {% for shelf in other_edition_shelves %}{% blocktrans with book_path=shelf.book.local_path shelf_path=shelf.shelf.local_path shelf_name=shelf.shelf.name %}A different edition of this book is on your {{ shelf_name }} shelf.{% endblocktrans %} {% include 'snippets/switch_edition_button.html' with edition=book %}
{% endfor %}{% trans "You don't have any reading activity for this book." %}
{% endif %} {% for readthrough in readthroughs %} {% include 'book/readthrough.html' with readthrough=readthrough %} {% endfor %}