X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6e75a30246598a40cabb8ca1498c3a4f6f146c91..938fc832934e508085dad3645c01060a4dc9f0c9:/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 fec910530..7c33a3740 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -2,59 +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 %} +
+

{% title_from_tags tags %}

- {% breadcrumbs tags %} - {% if only_shelf and not object_list %} -
-

{% trans "Your shelf is empty" %}

-

{% 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 %} +
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:30 }}
+
+
+

+ {% endif %} + + +
+ {% if categories.author %} +

{% trans "Authors" %}: + {% inline_tag_list categories.author tags %} +

+ {% endif %} + {% if categories.kind %} +

{% trans "Kinds" %}: + {% inline_tag_list categories.kind tags %} +

+ {% endif %} + {% if categories.genre %} +

{% trans "Genres" %}: + {% inline_tag_list categories.genre tags %} +

+ {% endif %} + {% if categories.epoch %} +

{% trans "Epochs" %}: + {% inline_tag_list categories.epoch tags %} +

+ {% endif %}
- {% else %} - {% autopaginate object_list 10 %} -
- {% with tags|last as last_tag %} - {% if last_tag.has_description %} -
-
{{ last_tag.description|safe }}
-
{{ last_tag.description|safe|truncatewords_html:30 }}
-
-
-

- {% endif %} - {% if only_shelf %} - - {% trans "Download all books from this shelf" %} - - + + + + +
+ + + + + {% autopaginate object_list 10 %} + {% if object_list %} {% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %} - {% endif %} - {% endif %} -
- -
-

* {% trans "Loading" %}

-
-
{% endblock %}