X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2bf5eaca680da6ebd22e6fd799a9a5d68206f0b8..8d8fb6e63435faa5de2d07a52812f23b1796a29d:/wolnelektury/templates/catalogue/tagged_object_list.html?ds=sidebyside diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html index bff937463..443276d0a 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,59 +1,92 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags switch_tag %} +{% load catalogue_tags switch_tag %} {% block titleextra %}{% title_from_tags tags %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} {% block body %} +
{% trans "You can put a book on a shelf by entering page of the reading and clicking 'Put on the shelf'." %}
+ {% with tags|last as last_tag %} + {% if last_tag.has_description %} +
{% switch last_tag.category %}
@@ -88,60 +121,11 @@
{% endif %}
{% if object_list %}
-
- {% for book in object_list %}
-
- {% paginate %}
+ {% work_list object_list %}
{% else %}
{% trans "Sorry! Search cirteria did not match any resources." %}
{% include "info/join_us.html" %}
{% endif %}
{% endwith %}
{% trans "Loading" %}
-