X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/073bc5dd763d0c181198af92fd5a2d8201d74679..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 4809ad1ce..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 title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %} +{% 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" %}
-