X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/cf57591257968b71cd9b7b6e2745a0d23f0066e0..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 733911447..21aef82ce 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,74 +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 body %} +
+

{% title_from_tags tags %}

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

Twoja półka jest pusta

-

Możesz wrzucić książkę na półkę, wchodząc na stronę danej lektury i klikając na przycisk „Na półkę!”.

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

{% trans "Motifs and themes" %}

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

Zwiń opis ▲

- {% endif %} - {% if shelf_is_set %} - - Pobierz wszystkie książki z tej półki - - {% endif %} - {% endwith %} -
    - {% for book in object_list %} -
  1. {{ book.short_html }}
  2. - {% endfor %} -
- {% paginate %} +
+ {% endif %} +
-
-
- {% 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 %} +
+ + +
+ +
+ Dobranoc, obróć jeszcze raz na mnie oczęta,
+ (…) Daj mi pierś ucałować
+ Dobranoc, zapięta. +
+

Adam Mickiewicz, Dziady część III

+
+ +
+

{% trans "See also" %}:

+
-
- {% if categories.theme %} -

Motywy

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

{% trans "Download" %}:

+
-
+
- {% endif %} -