Skip to content

Commit

Permalink
[15.0][MIG] website_cookiebot: Migration to version 15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stefan-tecnativa committed Jan 2, 2023
1 parent 42b63ae commit afd69a1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website_cookiebot/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Website Cookiebot",
"summary": "Ask for cookies consent connecting with Cookiebot",
"category": "Website",
"version": "13.0.1.0.0",
"version": "15.0.1.0.0",
"author": "Trey (www.trey.es), Tecnativa, Odoo Community Association (OCA)",
"website": "https://github.com/OCA/website",
"license": "AGPL-3",
Expand Down
3 changes: 2 additions & 1 deletion website_cookiebot/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
* Antonio González <[email protected]>

* `Tecnativa <https://www.tecnativa.com/>`__:
* Jairo Llopis
* Jairo Llopis
* Stefan Ungureanu
7 changes: 5 additions & 2 deletions website_cookiebot/templates/website.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,15 @@
<data>
<template id="layout_footer_copyright" inherit_id="web.frontend_layout">
<xpath
expr="//footer//div/span[@t-field='res_company.name']/.."
expr="//body"
position="inside"
>
<span t-if="website.cookiebot_dgid">- <a
<div>
<span t-if="website.cookiebot_dgid">- <a
href="/legal/cookies-policy"
>Cookies Policy</a></span>
</div>

</xpath>
</template>
<template id="cookies" name="Cookies Policy">
Expand Down

0 comments on commit afd69a1

Please sign in to comment.