X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/73ef2b8442dc95f8b7279de812c30ac8626d5f39..8132fc186eb0c5fd02c86828c3a4735754296d02:/apps/catalogue/templates/catalogue/book_list/book_list.html diff --git a/apps/catalogue/templates/catalogue/book_list/book_list.html b/apps/catalogue/templates/catalogue/book_list/book_list.html index 73811cab..e238827b 100755 --- a/apps/catalogue/templates/catalogue/book_list/book_list.html +++ b/apps/catalogue/templates/catalogue/book_list/book_list.html @@ -1,8 +1,9 @@ {% load i18n %} {% load pagination_tags %} +{% load username from common_tags %} -
+ {% if not viewed_user %} @@ -10,10 +11,13 @@ {% endif %} +
+ + + {% else %} + {% endif %} + + {% with cnt=books|length %} @@ -70,7 +86,7 @@ {% endif %} {% endwith %} {% endfor %} - @@ -79,3 +95,20 @@ {% if not books %}

{% trans "No books found." %}

{% endif %} + + +{% csrf_token %} + + + + + + + + +
- {% trans "none" %} - {% for user in users %} + {% endif %}value="{{ user.username }}">{{ user|username }} ({{ user.count }}) {% endfor %}
+
{% paginate %} {% blocktrans count c=cnt %}{{c}} book{% plural %}{{c}} books{% endblocktrans %}