X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/f9c19bbcbc514aebcff44b37ca5b92b4a0e181cf..fc8d58d4ac9abba24758ef6c914eea9f85ef7e5b:/src/catalogue/templates/catalogue/book_list/book_list.html diff --git a/src/catalogue/templates/catalogue/book_list/book_list.html b/src/catalogue/templates/catalogue/book_list/book_list.html index 25a2e00c..0d761b8a 100755 --- a/src/catalogue/templates/catalogue/book_list/book_list.html +++ b/src/catalogue/templates/catalogue/book_list/book_list.html @@ -15,7 +15,11 @@ - +
+
+ + +
@@ -23,10 +27,10 @@ - {% if not viewed_user %} - {% endif %} - - - {% with cnt=books|length %} - {% autopaginate books 100 %} + {% autopaginate books 100 as books_page %} - {% for item in books %} + {% for item in books_page %} {% with book=item.book chunk=item.chunks.0 %} {% include 'catalogue/book_list/book.html' %} {% if not book.single %} @@ -83,16 +86,19 @@ {% endif %} {% endwith %} {% endfor %} - - {% endwith %}
+ class='form-control text-filter' value="{{ request.GET.title }}" />
- {% paginate %} - {% blocktrans count c=cnt %}{{c}} book{% plural %}{{c}} books{% endblocktrans %}
+{% paginate %} + {% blocktrans count c=books|length %}{{c}} book{% plural %}{{c}} books{% endblocktrans %} + + {% if not books %}

{% trans "No books found." %}

{% endif %} + + +