X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/04f567d3dcf63ec88484ba25a178c6eb336ea04e..1ca64302e8447c9715ab42dd1a33075f312e6059:/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 e66348676..9af03f51e 100644 --- a/src/catalogue/templates/catalogue/tagged_object_list.html +++ b/src/catalogue/templates/catalogue/tagged_object_list.html @@ -9,11 +9,7 @@ {% block body %}
-

{% if tags %} - {% html_title_from_tags tags %} - {% elif list_type == 'gallery' %}{% trans "Gallery" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %} - {% endif %} -

+

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

{% trans "Authors" %} @@ -46,6 +42,22 @@ {% endif %}
+{% 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 "Most popular books" %}

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