X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d600914f1c6432231cebabf0b957c08421a3b34e..7cf1f5926f871122e6e240432531ae942c4f9df1:/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 5f7d69fe6..7cae9ebed 100644
--- a/wolnelektury/templates/catalogue/tagged_object_list.html
+++ b/wolnelektury/templates/catalogue/tagged_object_list.html
@@ -2,15 +2,14 @@
{% load i18n %}
{% load catalogue_tags pagination_tags switch_tag %}
-{% block title %}{% title_from_tags tags %} w WolneLektury.pl{% endblock %}
+{% block titleextra %}{% title_from_tags tags %}{% endblock %}
{% block bodyid %}tagged-object-list{% endblock %}
{% block body %}
{% 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'." %}
@@ -27,7 +26,7 @@
{% endif %}
- {% if shelf_is_set %}
+ {% if only_shelf %}
{% trans "Download all books from this shelf" %}
@@ -35,16 +34,18 @@
- {% if user_is_owner %}
+ {% if only_my_shelf %}
{% trans "Copy this link and share it with other people to let them see your shelf." %}
@@ -87,38 +88,23 @@
{% endif %}
{% if object_list %}
+ {% spaceless %}
{% for book in object_list %}
-
{% if user_is_owner %}
- {% trans "Delete" %}
+ {% trans "Delete" %}
{% endif %}
{{ book.short_html }}
{% endfor %}
+ {% endspaceless %}
+ {% 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 %}
@@ -139,7 +125,10 @@
{% if categories.epoch %}