mirror of
https://github.com/bringout/oca-website.git
synced 2026-04-26 01:32:00 +02:00
Initial commit: OCA Website packages (16 packages)
This commit is contained in:
commit
0578ef7638
660 changed files with 37334 additions and 0 deletions
|
|
@ -0,0 +1,27 @@
|
|||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<odoo>
|
||||
<template
|
||||
id="footer_copyright_company_name"
|
||||
inherit_id="website.footer_copyright_company_name"
|
||||
>
|
||||
<xpath expr="//span[hasclass('o_footer_copyright_name')]" position="after">
|
||||
<span>-
|
||||
<a href="/legal/cookies-policy">Cookies Policy</a>
|
||||
</span>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
<template id="layout" inherit_id="website.layout">
|
||||
<xpath expr="//script[@id='tracking_code']" position="attributes">
|
||||
<attribute name="type">text/plain</attribute>
|
||||
<attribute name="data-cookiefirst-category">performance</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//script[last()]" position="after">
|
||||
<t t-if="website.cookiefirst_identifier and website.domain">
|
||||
<script
|
||||
t-attf-src="https://consent.cookiefirst.com/sites/{{ (website.domain or '').replace('http://', '').replace('https://', '').replace('www.', '') }}-{{ website.cookiefirst_identifier }}/consent.js"
|
||||
/>
|
||||
</t>
|
||||
</xpath>
|
||||
</template>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue