{% extends 'layout.html' %} {% load i18n %} {% load bookwyrm_tags %} {% load humanize %} {% block title %}{{ book.title }}{% endblock %} {% block content %}
{% if book.physical_format and not book.pages %} {{ book.physical_format | title }} {% elif book.physical_format and book.pages %} {% blocktrans with format=book.physical_format|title pages=book.pages %}{{ format }}, {{ pages }} pages{% endblocktrans %} {% elif book.pages %} {% blocktrans with pages=book.pages %}{{ pages }} pages{% endblocktrans %} {% endif %}
{% if book.published_date and book.publishers %} {% blocktrans with date=book.published_date|date:'M jS Y' publisher=book.publishers|join:', ' %}Published {{ date }} by {{ publisher }}.{% endblocktrans %} {% elif book.published_date %} {% blocktrans with date=book.published_date|date:'M jS Y' %}Published {{ date }}{% endblocktrans %} {% elif book.publishers %} {% blocktrans with publisher=book.publishers|join:', ' %}Published by {{ publisher }}.{% endblocktrans %} {% endif %}
{% if book.openlibrary_key %} {% 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 %}{% trans "rated it" %}
{% include 'snippets/stars.html' with rating=rating.rating %}