X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/e79d6158a3308af13ff62091ff8b262cd2af3aa4..3badd77f743883992829a1174eef7c8d5e851766:/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 12db8ed89..21aef82ce 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,108 +1,138 @@ {% extends "base.html" %} -{% load catalogue_tags pagination_tags %} +{% load i18n %} +{% 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 extrahead %} - -{% endblock %} - {% block body %} +
+

{% title_from_tags tags %}

- {% breadcrumbs tags %} - - {% autopaginate object_list 10 %} -
- {% with tags|last as last_tag %} - {% if last_tag.has_description %} -
- {{ last_tag.description|safe }} -
-

Zwiń opis ▲

- {% endif %} - {% endwith %} -
    - {% for book in object_list %} -
  1. {{ book.short_html }}
  2. - {% endfor %} -
- {% paginate %} -
-
-
- {% if categories.author %} -

Autorzy

- {% tag_list categories.author tags %} - {% endif %} - {% if categories.kind %} -

Rodzaje

- {% tag_list categories.kind tags %} - {% endif %} - {% if categories.genre %} -

Gatunki literackie

- {% tag_list categories.genre tags %} - {% endif %} - {% if categories.epoch %} -

Epoki

- {% tag_list categories.epoch tags %} - {% endif %} + + {% with tags|last as last_tag %} + {% if last_tag.has_description %} +
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:30 }}
-
- {% if categories.theme %} -

Motywy

+
+

+ {% 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 %} +
+ + {% if categories.theme %} +
+

{% trans "Motifs and themes" %}

+
{% tag_list categories.theme tags %} - {% endif %} +
-
+ {% endif %} + +
-
- -
-

* Ładowanie

+ + + -{% endblock %} \ No newline at end of file + +
+ + + + + +{% endblock %}