X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/69191eddb9e4221d964a7e5b044ff7c5dfe38315..5b5ccdc9dc573482feaded2eaa8110bc65f27cb7:/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 45459f16e..b729ca917 100644 --- a/wolnelektury/templates/catalogue/tagged_object_list.html +++ b/wolnelektury/templates/catalogue/tagged_object_list.html @@ -7,58 +7,96 @@ {% block bodyid %}tagged-object-list{% endblock %} {% block body %} -
-
-

{% title_from_tags tags %}

+
+
+

{% 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:30 }}
-
-
-

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

+ {% trans "Motifs and themes" %}

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

{% trans "Motifs and themes" %}

-
- {% tag_list categories.theme tags %} -
+
+ + + {% if theme_is_set %} +
+ {% if last_tag.gazeta_link or last_tag.wiki_link %} +

{% trans "See also" %}:

+ + {% endif %}
{% endif %} +
@@ -120,7 +137,7 @@ - + {% if not theme_is_set %}
{% if object_list %} {% work_list object_list %} @@ -128,6 +145,7 @@ {% trans "Sorry! Search cirteria did not match any resources." %} {% include "info/join_us.html" %} {% endif %} - {% endwith %}
+ {% endif %} + {% endwith %} {% endblock %}