X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/88eaa6c36bd8a5eb8fe1a1b3ad1f8aaddb258d5c..6797be6ce464806fdfb17b6ada71ba7b0b87b2d4:/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 2bf636ecc..497fbb1fe 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -5,56 +5,16 @@ {% block bodyid %}tagged-object-list{% endblock %} -{% block extrahead %} - -{% 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ę!”.

+
+ {% else %} {% autopaginate object_list 10 %}
{% with tags|last as last_tag %} @@ -62,14 +22,36 @@
{{ last_tag.description|safe }}
+

Zwiń opis ▲

{% endif %} - {% endwith %} + {% if shelf_is_set %} + + Pobierz wszystkie książki z tej półki + + {% endif %} + {% if last_tag.gazeta_link %} +

+ {% ifequal last_tag.category "author" %}Przeczytaj omówienia utworów autora w serwisie Lektury.Gazeta.pl{% endifequal %} + {% ifequal last_tag.category "epoch" %}Przeczytaj omówienia z epoki {{ last_tag }} w serwisie Lektury.Gazeta.pl{% endifequal %} +

+ {% endif %} + {% if last_tag.wiki_link %} +

+ {% ifequal last_tag.category "author" %}Przeczytaj artykuł o autorze w Wikipedii{% endifequal %} + {% ifequal last_tag.category "epoch" %}Przeczytaj artykuł o epoce {{ last_tag }} w Wikipedii{% endifequal %} +

+ {% endif %}
    {% for book in object_list %} -
  1. {{ book.short_html }}
  2. +
  3. + {% if user_is_owner %} + Usuń + {% endif %} + {{ book.short_html }}
  4. {% endfor %}
+ {% endwith %} {% paginate %}
@@ -78,10 +60,6 @@

Autorzy

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

Epoki

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

Rodzaje

{% tag_list categories.kind tags %} @@ -89,7 +67,11 @@ {% if categories.genre %}

Gatunki literackie

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

Epoki

+ {% tag_list categories.epoch tags %} + {% endif %}
{% if categories.theme %} @@ -99,10 +81,11 @@
+ {% endif %}
Zamknij
-

* Ładowanie

+

* Ładowanie

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