浏览代码

add tarteaucitron

kevin tessier 6 年之前
父节点
当前提交
fa54fca8c5
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 2
      user/themes/lecampus/js/site.js
  2. 1 0
      user/themes/lecampus/templates/partials/base.html.twig

+ 2 - 2
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 */

+ 1 - 0
user/themes/lecampus/templates/partials/base.html.twig

@@ -112,6 +112,7 @@
 
     {% block footer %}
       {% include 'partials/footer.html.twig' %}
+       <a href="#tarteaucitron">Lien</a>
     {% endblock %}
 
     {% block bottom %}