From fa54fca8c5ca00583f9571f0ff51dd41471e6dde Mon Sep 17 00:00:00 2001 From: kevin tessier Date: Sun, 16 Jun 2019 18:11:58 +0200 Subject: [PATCH] add tarteaucitron --- user/themes/lecampus/js/site.js | 4 ++-- user/themes/lecampus/templates/partials/base.html.twig | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/user/themes/lecampus/js/site.js b/user/themes/lecampus/js/site.js index 157c6d6..8da5df0 100644 --- a/user/themes/lecampus/js/site.js +++ b/user/themes/lecampus/js/site.js @@ -199,8 +199,8 @@ jQuery(document).ready(function(){ tarteaucitron.init({ "privacyUrl": "/charte-cookies", /* Privacy policy url */ - "hashtag": "#gestions_des_cookies", /* Open the panel with this hashtag */ - "cookieName": "gestions_des_cookies", /* Cookie name */ + "hashtag": "#gestion_des_cookies", /* Open the panel with this hashtag */ + "cookieName": "#gestion_des_cookies", /* Cookie name */ "orientation": "bottom", /* Banner position (top - bottom) */ "showAlertSmall": false, /* Show the small banner on bottom right */ diff --git a/user/themes/lecampus/templates/partials/base.html.twig b/user/themes/lecampus/templates/partials/base.html.twig index 9b74643..daa428b 100644 --- a/user/themes/lecampus/templates/partials/base.html.twig +++ b/user/themes/lecampus/templates/partials/base.html.twig @@ -112,6 +112,7 @@ {% block footer %} {% include 'partials/footer.html.twig' %} + Lien {% endblock %} {% block bottom %}