X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5923c1d5a9adb03043d45cf47684825aaa1e6f93..76a5ef1307add0a97470e8927e2b3165a8d95b29:/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 cc902c739..1a6843a81 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,143 +1,134 @@ {% extends "base.html" %} -{% load catalogue_tags pagination_tags %} - -{% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %} - -{% block bodyid %}books{% endblock %} - -{% block extrahead %} - -{% endblock %} +{% load i18n %} +{% load catalogue_tags switch_tag social_tags %} + +{% block titleextra %}{% title_from_tags tags %}{% endblock %} + +{% block bodyid %}tagged-object-list{% 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.set %} -

Półki

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

Autorzy

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

Epoki

- - {% 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.kind %} -

Rodzaje

- - {% endif %} +
+

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

Gatunki literackie

- + {% endif %} + +
+
+ + +
+ {% cite_promo tags 1 %} + + -
- {% if categories.theme %} -

Motywy

- - {% endif %} + +
+ {% comment %} +

{% trans "Download" %}:

+ + {% endcomment %}
+
-
- -
-

* Ładowanie

-
+ +
+ + + + +
+ {% if object_list %} + {% work_list object_list %} + {% else %} + {% trans "Sorry! Search cirteria did not match any resources." %} + {% include "info/join_us.html" %} + {% endif %} + {% endwith %}
-{% endblock %} \ No newline at end of file +{% endblock %}