X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/41e79f5deff58b34f185c8c7426f505793c1d9c7..f293bf6e6217d2277d11b65fdb63bc35badc8e68:/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..f845c624f 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" %}
@@ -34,16 +35,18 @@
- {% 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." %}
@@ -90,34 +93,17 @@
{% for book in object_list %}
{% if user_is_owner %}
- {% trans "Delete" %}
+ {% trans "Delete" %}
{% endif %}
{{ book.short_html }}
{% endfor %}
+ {% paginate %}
{% else %}
- {% if only_author %}
- {% if last_tag.alive %}
- {% 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." %}
- {% else %}
- {% comment %} Is dead, but not yet in public domain {% endcomment %}
-
-
{% trans "This author's works will become part of public domain and will be allowed to be published without restrictions in" %}
- {% include "catalogue/pd_counter.html" %}
-
{% trans "Find out why Internet libraries can't publish this author's works." %}
-
- {% endif %}
- {% endif %}
- {% else %}
- {% trans "Sorry! Search cirteria did not match any resources." %}
- {% endif %}
+ {% trans "Sorry! Search cirteria did not match any resources." %}
{% include "info/join_us.html" %}
{% endif %}
{% endwith %}
- {% paginate %}
{% if object_list %}
{% comment %} If we didn't find anything there will be nothing on the right side as well {% endcomment %}
@@ -138,7 +124,10 @@
{% if categories.epoch %}
{% trans "Epochs" %}
{% tag_list categories.epoch tags %}
- {% endif %}
+ {% endif %}
+ {% if only_shelf %}
+ Miksuj utwory z tej póÅki
+ {% endif %}
{% if categories.theme %}
@@ -156,4 +145,4 @@
{% trans "Loading" %}
-{% endblock %}
\ No newline at end of file
+{% endblock %}