X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/5b4d95336fc553b86811abf3a6c0c0607a46faab..8fefd8bdaca07a3f5607de79c081dc0f7876fbc7:/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 73bdf0a6c..c7898d56c 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,160 +1,127 @@ {% extends "base.html" %} {% load i18n %} -{% load catalogue_tags pagination_tags switch_tag %} +{% load catalogue_tags switch_tag social_tags %} -{% 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 %} -

{% title_from_tags tags %}

- {% breadcrumbs tags %} +
+
+

{% html_title_from_tags tags %}

- {% 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'." %}

+ {% with tags|last as last_tag %} + {% if last_tag.has_description %} +
+
{{ last_tag.description|safe }}
+
{{ last_tag.description|safe|truncatewords_html:40 }}
+
+ {% endif %} + + +
+ {% if categories.author %} +
+
{% trans "Authors" %}:
+
+ {% inline_tag_list categories.author tags %} +
+
+ {% endif %} + {% if categories.kind %} +
+
{% trans "Kinds" %}:
+
+ {% inline_tag_list categories.kind tags %} +
+
+ {% endif %} + {% if categories.genre %} +
+
{% trans "Genres" %}:
+
+ {% inline_tag_list categories.genre tags %} +
+
+ {% endif %} + {% if categories.epoch %} +
+
{% trans "Epochs" %}:
+
+ {% inline_tag_list categories.epoch tags %} +
+
+ {% endif %}
- {% else %} - {% autopaginate object_list 10 %} -
- {% with tags|last as last_tag %} - {% if last_tag.has_description %} -
-
{{ last_tag.description|safe }}
-
{{ last_tag.description|safe|truncatewords_html:30 }}
-
-
-

- {% endif %} - {% if only_shelf %} - - {% trans "Download all books from this shelf" %} - - - {% if only_my_shelf %} -

{% trans "Share this shelf" %}

-
-

{% trans "Copy this link and share it with other people to let them see your shelf." %} - -

+ + {% if categories.theme %} +
+

+ {% trans "Motifs and themes" %}

+
+ {% tag_list categories.theme tags %}
- {% endif %} - {% endif %} +
+ {% endif %} + +
+
+ + +
+ {% if theme_is_set %} + {% work_list object_list %} + {% else %} + {% cite_promo tags 1 %} + + + +
+ {% comment %} +

{% trans "Download" %}:

+ + {% endcomment %} +
{% endif %} +
+ +
+ + + + {% if not theme_is_set %} +
{% if object_list %} -
    - {% for book in object_list %} -
  1. - {% if user_is_owner %} - {% trans "Delete" %} - {% endif %} - {{ book.short_html }}
  2. - {% endfor %} -
+ {% work_list object_list %} {% 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 %} -
-
- {% if categories.author %} -

{% trans "Authors" %}

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

{% trans "Kinds" %}

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

{% trans "Genres" %}

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

{% trans "Epochs" %}

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

{% trans "Themes" %}

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

* {% trans "Loading" %}

-
-
-{% endblock %} \ No newline at end of file + {% endwith %} +{% endblock %}