X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6ed1d78c6ca14fd002c7a00867d1964e0c4ea4a8..cafca91e28661f24abbcda91c733de7e77d16e86:/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 285af0ac3..22554d66a 100644 --- a/src/catalogue/templates/catalogue/tagged_object_list.html +++ b/src/catalogue/templates/catalogue/tagged_object_list.html @@ -1,17 +1,8 @@ {% extends "base/base.html" %} {% load i18n %} -{% load catalogue_tags switch_tag social_tags %} -{% load ssi_include from ssify %} +{% load catalogue_tags social_tags %} -{% block titleextra %}{% if tags %}{% title_from_tags tags %}{% elif list_type == 'gallery' %}{% trans "Gallery" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %}{% endif %}{% endblock %} - - -{% block extrahead %} -{{ block.super }} -{% if request.path == '/katalog/lektury/' or request.path == '/katalog/audiobooki/' %} -{% include "hotjar.html" %} -{% endif %} -{% endblock %} +{% block titleextra %}{% if tags %}{% title_from_tags tags %}{% elif list_type == 'gallery' %}{% trans "Art" %}{% elif list_type == 'audiobooks' %}{% trans "Audiobooks" %}{% else %}{% trans "Literature" %}{% endif %}{% endblock %} {% block bodyid %}tagged-object-list{% endblock %} @@ -51,24 +42,6 @@ {% endif %} - {% 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 "Most popular books" %}

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