From 0d652be22f4d6e5276e16f493ce58294655d7a0f Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 15 Nov 2019 15:45:13 +0100 Subject: [PATCH 1/1] Remove hotjar. --- src/catalogue/templates/catalogue/book_detail.html | 7 ------- .../templates/catalogue/tagged_object_list.html | 8 -------- src/wolnelektury/templates/hotjar.html | 11 ----------- src/wolnelektury/templates/main_page.html | 5 ----- 4 files changed, 31 deletions(-) delete mode 100644 src/wolnelektury/templates/hotjar.html diff --git a/src/catalogue/templates/catalogue/book_detail.html b/src/catalogue/templates/catalogue/book_detail.html index eeecbf08a..de1b45a1b 100644 --- a/src/catalogue/templates/catalogue/book_detail.html +++ b/src/catalogue/templates/catalogue/book_detail.html @@ -11,13 +11,6 @@ {% block bodyid %}book-detail{% endblock %} -{% block extrahead %} -{{ block.super }} -{% if request.path == '/katalog/lektura/pan-tadeusz/' %} -{% include "hotjar.html" %} -{% endif %} -{% endblock %} - {% block body %} {% include 'catalogue/book_wide.html' %} diff --git a/src/catalogue/templates/catalogue/tagged_object_list.html b/src/catalogue/templates/catalogue/tagged_object_list.html index e87b32dac..f0a703b4a 100644 --- a/src/catalogue/templates/catalogue/tagged_object_list.html +++ b/src/catalogue/templates/catalogue/tagged_object_list.html @@ -5,14 +5,6 @@ {% 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 bodyid %}tagged-object-list{% endblock %} {% block body %} diff --git a/src/wolnelektury/templates/hotjar.html b/src/wolnelektury/templates/hotjar.html deleted file mode 100644 index 03d8e37ab..000000000 --- a/src/wolnelektury/templates/hotjar.html +++ /dev/null @@ -1,11 +0,0 @@ - - diff --git a/src/wolnelektury/templates/main_page.html b/src/wolnelektury/templates/main_page.html index 49892ecd0..71731b98d 100644 --- a/src/wolnelektury/templates/main_page.html +++ b/src/wolnelektury/templates/main_page.html @@ -11,11 +11,6 @@ {% block title %}{% trans "Wolne Lektury internet library" %}{% endblock %} {% block ogtitle %}{% trans "Wolne Lektury internet library" %}{% endblock %} -{% block extrahead %} -{{ block.super }} -{% include "hotjar.html" %} -{% endblock %} - {% block body %} {% spaceless %} {% carousel 'main' %} -- 2.20.1