summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.res_config_settings.xml
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2019-11-22 13:20:23 +0000
committerqsm-odoo <qsm@odoo.com>2020-01-29 14:53:38 +0000
commit3028e9a8649ae5d9b23a1bdb989b903645ede5fe (patch)
treecf54e7c116cee0cb0cea3f06d65f897e8531596e /addons/website/static/src/xml/website.res_config_settings.xml
parent3bce5277e378fd499bf2d0fed8c62929165b7871 (diff)
[IMP] website: introduce cookies bar on website
With this commit, it is now possible to activate a cookies bar on a website through the res.settings. The cookies bar can be edited in the frontend by entering edit mode. The cookies bar will appear until the user clicks on 'I agree'. Part of https://github.com/odoo/odoo/pull/41294 task-2087003 closes odoo/odoo#41294 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
Diffstat (limited to 'addons/website/static/src/xml/website.res_config_settings.xml')
-rw-r--r--addons/website/static/src/xml/website.res_config_settings.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/website/static/src/xml/website.res_config_settings.xml b/addons/website/static/src/xml/website.res_config_settings.xml
new file mode 100644
index 00000000000..6b6d48172bd
--- /dev/null
+++ b/addons/website/static/src/xml/website.res_config_settings.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates id="template" xml:space="preserve">
+<t t-name="website.res_config_settings.cookies_modal_main">
+ <main role="alert">
+ <p>
+ <b>Cookie bars may significantly impair the experience</b> of
+ your visitors. We recommend you avoid them unless you have
+ verified with a legal advisor that you absolutely need cookie
+ consent in your country.
+ </p>
+ <p>
+ For session cookies, authentification and analytics*,
+ <b>you do not need to ask for the consent</b> (see e.g. Opinion
+ 04/2012 on Cookie Consent Exemption by the EU Art.29 WP).
+ </p>
+ <p>
+ * provided that your analytics is anonymized, which is not the
+ case by default with Google Analytics.
+ </p>
+ </main>
+</t>
+</templates>