{% extends 'layout.html' %} {% load i18n %} {% load static %} {% block title %}{% blocktrans %}{{ year }} in the books{% endblocktrans %}{% endblock %} {% block head_links %} {% endblock %} {% block content %} {% with display_name=summary_user.display_name %} {% if user == summary_user %}
{% blocktrans %}{{ display_name }}’s year of reading{% endblocktrans %}
Sharing status: public with key
The page can be seen by anyone with the complete address.
Sharing status: private
The page is private, only you can see it.
When you make your page private, the old key won’t give access to the page anymore. A new key will be created if the page is once again made public.
{% endif %}{% blocktrans %}Sadly {{ display_name }} didn’t finish any book in {{ year }}{% endblocktrans %}
{% else %}{% trans "That’s great!" %}
{% blocktrans %}That makes an average of {{ pages_average }} pages per book.{% endblocktrans %}
{% if no_page_number %}{% blocktrans %}({{ no_page_number }} books don’t have pages){% endblocktrans %}
{% endif %}{% trans "by" %} {% include 'snippets/authors.html' with book=book_pages_lowest link_class="has-text-success-dark" %}
{% endif %}{% with pages=book_pages_lowest.pages %} {% blocktrans %}{{ pages }} pages{% endblocktrans%} {% endwith %}
{{ book_pages_highest.title }}
{% if book_pages_highest.authors.exists %}{% trans "by" %} {% include 'snippets/authors.html' with book=book_pages_highest link_class="has-text-success-dark" %}
{% endif %}{% with pages=book_pages_highest.pages %} {% blocktrans %}{{ pages }} pages{% endblocktrans%} {% endwith %}
{{ book_rating_highest.book.title }}
{% if book_rating_highest.book.authors.exists %}{% trans "by" %} {% include 'snippets/authors.html' with book=book_rating_highest.book link_class="has-text-success-dark" %}
{% endif %}{% with rating=book_rating_highest.rating|floatformat %} {% blocktrans %}Their rating: {{ rating }}{% endblocktrans%} {% endwith %}