{% extends 'layout.html' %} {% load i18n %} {% load book_display_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 %} {% if update_error %}
{% 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 %} {% else %} {% include 'snippets/book_cover.html' with book=book cover_class='is-h-m-mobile' %} {% endif %} {% endif %} {% if book.cover %} {% include 'book/cover_show_modal.html' with book=book id="cover_show_modal" %} {% endif %} {% include 'snippets/rate_action.html' with user=request.user book=book %}{% trans "View on OpenLibrary" %} {% if request.user.is_authenticated and perms.bookwyrm.edit_book %} {% include "book/sync_modal.html" with source="openlibrary.org" source_name="OpenLibrary" id="openlibrary_sync" %} {% endif %}
{% endif %} {% if book.inventaire_id %}{% trans "View on Inventaire" %} {% if request.user.is_authenticated and perms.bookwyrm.edit_book %} {% include "book/sync_modal.html" with source="inventaire.io" source_name="Inventaire" id="inventaire_sync" %} {% endif %}
{% endif %}{% blocktrans with path=book.parent_work.local_path count=book.parent_work.editions.count %}{{ count }} editions{% endblocktrans %}
{% endif %}{% 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 'readthrough/readthrough_list.html' with readthrough=readthrough %} {% endfor %}