X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/88eaa6c36bd8a5eb8fe1a1b3ad1f8aaddb258d5c..c6cdec51c3554999e98815d1630fb4267cfa33ea:/wolnelektury/templates/catalogue/tagged_object_list.html?ds=sidebyside
diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html
index 2bf636ecc..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,14 +22,24 @@
{{ last_tag.description|safe }}
+
{% endif %}
- {% endwith %}
+ {% if shelf_is_set %}
+
+ Pobierz wszystkie ksiÄ
żki z tej póÅki
+
+ {% endif %}
{% for book in object_list %}
- - {{ book.short_html }}
+ -
+ {% if user_is_owner %}
+ UsuÅ
+ {% endif %}
+ {{ book.short_html }}
{% endfor %}
+ {% endwith %}
{% paginate %}
@@ -78,10 +48,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 +55,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,6 +69,7 @@
+ {% endif %}