X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/9a938c8b406ce05e3bca4a5a483d473ece9e17b0..dbdd1449a656f4c62055926d1531be95c2e6e66b:/src/catalogue/templates/catalogue/tagged_object_list.html diff --git a/src/catalogue/templates/catalogue/tagged_object_list.html b/src/catalogue/templates/catalogue/tagged_object_list.html index 7603d7b97..f83c7d5cd 100644 --- a/src/catalogue/templates/catalogue/tagged_object_list.html +++ b/src/catalogue/templates/catalogue/tagged_object_list.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} +{% extends "base/base.html" %} {% load i18n %} {% load catalogue_tags switch_tag social_tags %} {% load ssi_include from ssify %} @@ -8,120 +8,118 @@ {% block bodyid %}tagged-object-list{% endblock %} {% block body %} -
+

{% if tags %}{% html_title_from_tags tags %}{% endif %}

-
+
-
+
- {% inline_tag_list categories.author tags 'author' list_type=list_type %} + {% inline_tag_list categories.author tags 'author' list_type=list_type %}
- {% inline_tag_list categories.epoch tags 'epoch' list_type=list_type %} + {% inline_tag_list categories.epoch tags 'epoch' list_type=list_type %}
- {% inline_tag_list categories.genre tags 'genre' list_type=list_type %} + {% inline_tag_list categories.genre tags 'genre' list_type=list_type %}
- {% inline_tag_list categories.kind tags 'kind' list_type=list_type %} + {% inline_tag_list categories.kind tags 'kind' list_type=list_type %}
{% if theme_is_set %} -
- {% inline_tag_list categories.theme tags 'theme' list_type=list_type %} -
+
+ {% inline_tag_list categories.theme tags 'theme' list_type=list_type %} +
{% endif %} -
+
-{% comment %} -{% if list_type == 'books' and not tags %} + {% comment %} + {% if list_type == 'books' and not tags %}
-

{% trans "Recent publications" %}

- {% for book in last_published %} - {% ssi_include 'catalogue_book_mini' pk=book.pk %} - {% endfor %} - {% trans "More recent publications" %} +

{% trans "Recent publications" %}

+ {% for book in last_published %} + {% ssi_include 'catalogue_book_mini' pk=book.pk %} + {% endfor %} + {% trans "More recent publications" %}
-

{% trans "Most popular books" %}

- {% for book in most_popular %} - {% ssi_include 'catalogue_book_mini' pk=book.pk %} - {% endfor %} +

{% trans "Most popular books" %}

+ {% for book in most_popular %} + {% ssi_include 'catalogue_book_mini' pk=book.pk %} + {% endfor %}
-{% endif %} -{% endcomment %} + {% endif %} + {% endcomment %} -{% if theme_is_set %} + {% if theme_is_set %} {% work_list object_list %} -{% else %} + {% else %}
- {% if object_list %} - {% work_list best %} - {% if tags %} -

{% trans "All matching works" %}

- {% else %} - {% if list_type == 'audiobooks' %} -

{% trans "Listing of all audiobooks" %}

- {% else %} -

{% trans "All works" %}

- {% endif %} - {% endif %} - {% plain_list object_list by_author=True list_type=list_type %} - {% if daisy %} -

{% trans "DAISY files" %}

- {% plain_list daisy by_author=True %} - {% endif %} + {% if object_list %} + {% work_list best %} + {% if tags %} +

{% trans "All matching works" %}

{% else %} - {% trans "Sorry! Search cirteria did not match any resources." %} - {% include "info/join_us.html" %} + {% if list_type == 'audiobooks' %} +

{% trans "Listing of all audiobooks" %}

+ {% else %} +

{% trans "All works" %}

+ {% endif %} + {% endif %} + {% plain_list object_list by_author=True list_type=list_type %} + {% if daisy %} +

{% trans "DAISY files" %}

+ {% plain_list daisy by_author=True %} {% endif %} + {% else %} + {% trans "Sorry! Search cirteria did not match any resources." %} + {% include "info/join_us.html" %} + {% endif %}
{% if categories.theme and list_type != 'audiobooks' %} -

{% trans "Motifs and themes" %}

- {% plain_list categories.theme choice=tags list_type=list_type %} +

{% trans "Motifs and themes" %}

+ {% plain_list categories.theme choice=tags list_type=list_type %} {% endif %} + {% endif %} -{% endif %} - -{% for tag in tags %} + {% for tag in tags %} {% if tag.category != 'set' %} -

{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}

-
- {% if tag.has_description %} - {{ tag.description|safe }} - {% else %} - {% trans "No description." %} - {% endif %} -
- - {% if tag.gazeta_link %} -
- {{ tag }} {% trans "in Lektury.Gazeta.pl" %} -
- {% endif %} - {% if tag.wiki_link %} -
- - {{ tag }} {% trans "in Wikipedia" %} -
- {% endif %} - {% if tag.culturepl_link %} -
- - {{ tag }} {% trans "in Culture.pl" %} -
+

{% trans tag.category as c %}{{ c|capfirst }}: {{ tag }}

+
+ {% if tag.has_description %} + {{ tag.description|safe }} + {% else %} + {% trans "No description." %} {% endif %} - {% endif %} -{% endfor %} +
+ {% if tag.gazeta_link %} +
+ {{ tag }} {% trans "in Lektury.Gazeta.pl" %} +
+ {% endif %} + {% if tag.wiki_link %} +
+ + {{ tag }} {% trans "in Wikipedia" %} +
+ {% endif %} + {% if tag.culturepl_link %} +
+ + {{ tag }} {% trans "in Culture.pl" %} +
+ {% endif %} + {% endif %} + {% endfor %} {% endblock %}