{% load i18n %} {% load pagination_tags %} {% load username from common_tags %}
{% if not viewed_user %} {% endif %}
{% if not viewed_user %} {% else %} {% endif %} {% autopaginate books 100 as books_page %} {% for item in books_page %} {% with book=item.book chunk=item.chunks.0 %} {% include 'documents/book_list/book.html' %} {% if not book.single %} {% for chunk in item.chunks %} {% include 'documents/book_list/chunk.html' %} {% endfor %} {% endif %} {% endwith %} {% endfor %}
{% paginate %} {% blocktrans count c=books|length %}{{c}} book{% plural %}{{c}} books{% endblocktrans %} {% if not books %}

{% trans "No books found." %}

{% endif %}