X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/b3a2a942879cf81025be9cbfcb924b3ffca038c0..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 d1d0b56b6..c7898d56c 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -1,82 +1,127 @@ {% extends "base.html" %} -{% load catalogue_tags pagination_tags %} +{% load i18n %} +{% 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 %} - - {% 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ę!”.

+
+
+

{% html_title_from_tags tags %}

+ + {% 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 }} + + {% if categories.theme %} +
+

+ {% trans "Motifs and themes" %}

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

Zwiń opis ▲

- {% endif %} - {% if shelf_is_set %} - - Pobierz wszystkie książki z tej półki - - {% endif %} +
+ {% endif %} + +
+
+ + +
+ {% if theme_is_set %} + {% work_list object_list %} + {% else %} + {% cite_promo tags 1 %} + +
+ {% if last_tag.gazeta_link or last_tag.wiki_link %} +

{% trans "See also" %}:

+
-
-
- {% if categories.author %} -

Autorzy

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

Rodzaje

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

Gatunki literackie

- {% tag_list categories.genre tags %} + {% if last_tag.wiki_link %} +
  • + {% trans "in Wikipedia" %} +
  • + {% endif %} + + + + {% endif %} - {% if categories.epoch %} -

    Epoki

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

    Motywy

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

    {% trans "Download" %}:

    + + {% endcomment %}
    -
    + {% endif %} +
    - {% endif %} -
    - -
    -

    * Ładowanie

    -
    + +
    + + + + {% if not theme_is_set %} +
    + {% if object_list %} + {% work_list object_list %} + {% else %} + {% trans "Sorry! Search cirteria did not match any resources." %} + {% include "info/join_us.html" %} + {% endif %}
    -{% endblock %} \ No newline at end of file + {% endif %} + {% endwith %} +{% endblock %}