X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/56cde931d184d61118503fe2e158c39c90c4fd69..5c05e41cfb2907f6621833a8f673d66bfcac2699:/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 b842cb44a..5bcab78a8 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,71 +22,54 @@
{{ last_tag.description|safe }}
+

Zwiń opis ▲

{% endif %} - {% endwith %} + {% if shelf_is_set %} + + Pobierz wszystkie książki z tej półki + + {% 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 %}
- {% if categories.set %} -

Półki

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

Autorzy

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

Epoki

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

Rodzaje

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

Gatunki literackie

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

Epoki

+ {% tag_list categories.epoch tags %} + {% endif %}
{% if categories.theme %}

Motywy

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