X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/7e890833260e5aef8ae217d195309b76fa91c02f..d628f5cb02cf0e7e69356a1eaf146daa76d50604:/wolnelektury/templates/catalogue/tagged_object_list.html diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html index 54db1d0fe..fce00dcbd 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -2,58 +2,99 @@ {% load i18n %} {% load catalogue_tags pagination_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 +129,25 @@
{% endif %}
{% if object_list %}
+ {% spaceless %}
{% for book in object_list %}
+ {% endspaceless %}
+ {% paginate %}
{% else %}
{% trans "Sorry! Search cirteria did not match any resources." %}
{% include "info/join_us.html" %}
{% endif %}
{% endwith %}
- {% paginate %}
{% trans "Loading" %}
-