X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/41e79f5deff58b34f185c8c7426f505793c1d9c7..ff3307b0e2141ac2d1c781ada9c42ad63e2bfd29:/wolnelektury/templates/catalogue/tagged_object_list.html?ds=inline
diff --git a/wolnelektury/templates/catalogue/tagged_object_list.html b/wolnelektury/templates/catalogue/tagged_object_list.html
index 07fda03ad..b24929cd9 100644
--- a/wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/wolnelektury/templates/catalogue/tagged_object_list.html
@@ -9,8 +9,8 @@
{% block body %}
{% title_from_tags tags %}
{% breadcrumbs tags %}
-
- {% if shelf_is_set and not object_list %}
+
+ {% if only_shelf and not object_list %}
{% trans "Your shelf is empty" %}
{% trans "You can put a book on a shelf by entering page of the reading and clicking 'Put on the shelf'." %}
@@ -21,12 +21,13 @@
{% with tags|last as last_tag %}
{% if last_tag.has_description %}
- {{ last_tag.description|safe }}
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:30 }}
-
{% trans "Hide description" %} â²
+
{% endif %}
- {% if shelf_is_set %}
+ {% if only_shelf %}
{% trans "Download all books from this shelf" %}
@@ -43,7 +44,7 @@
- {% if user_is_owner %}
+ {% if only_my_shelf %}
{% trans "Share this shelf" %}
{% trans "Copy this link and share it with other people to let them see your shelf." %}
@@ -101,7 +102,7 @@
{% trans "This author's works are copyrighted." %}
{% else %}{% comment %} Is dead {% endcomment %}
{% if last_tag.in_pd %}
-
{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}
+
{% trans "This author's works are in public domain and will be published on Internet school library of Wolne Lektury soon." %}
{% else %}
{% comment %} Is dead, but not yet in public domain {% endcomment %}
@@ -138,7 +139,7 @@
{% if categories.epoch %}
{% trans "Epochs" %}
{% tag_list categories.epoch tags %}
- {% endif %}
+ {% endif %}
{% if categories.theme %}