X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/cfc1eb85823b39e0f767909ccd3a9709a5fd0ec2..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 f1ed46f5..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,6 +11,7 @@ {% endif %} +
@@ -44,9 +46,11 @@ {% endif %}value="-">- {% trans "none" %} - {% for user in users %} + {% endif %}value="{{ user.username }}">{{ user|username }} ({{ user.count }}) {% endfor %} + {% else %} + {% endif %} + + {% with cnt=books|length %} @@ -72,7 +86,7 @@ {% endif %} {% endwith %} {% endfor %} - + {% paginate %} {% blocktrans count c=cnt %}{{c}} book{% plural %}{{c}} books{% endblocktrans %} @@ -82,11 +96,19 @@

{% trans "No books found." %}

{% endif %} - +