[IMP] theme_*: adapt xpath to s_cover snippet minor changes

task-4505899

closes odoo/design-themes#1058

Related: odoo/odoo#200313
Related: odoo/enterprise#80744
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2025-05-06 12:32:52 +02:00
parent 8c1b9bc34d
commit 6d4a180260
5 changed files with 8 additions and 12 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
<odoo>
<template id="s_cover" inherit_id="website.s_cover">
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
<xpath expr="//a[@href='/contactus']" position="replace"/>
</template>
</odoo>
+1 -1
View File
@@ -47,7 +47,7 @@
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="attributes">
<attribute name="class" add="btn-primary" remove="btn-secondary" separator=" "/>
</xpath>
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
<xpath expr="//a[@href='/contactus']" position="replace"/>
</template>
</odoo>
+3 -3
View File
@@ -18,13 +18,13 @@
<p><br/></p>
</xpath>
<!-- Button -->
<xpath expr="//a[hasclass('btn')]/t" position="replace" mode="inner">
<xpath expr="//a[@t-att-href='cta_btn_href']/t" position="replace" mode="inner">
Discover More
</xpath>
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="attributes">
<xpath expr="//a[@t-att-href='cta_btn_href']" position="attributes">
<attribute name="class" add="btn-primary" remove="btn-secondary" separator=" "/>
</xpath>
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
<xpath expr="//a[@href='/contactus']" position="replace"/>
</template>
</odoo>
+3 -3
View File
@@ -48,13 +48,13 @@
<h2 style="text-align: center;"><span class="display-5-fs">24-26.06.2025 // Harleem, Netherlands<br/><br/></span></h2>
</xpath>
<!-- Button -->
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="attributes">
<xpath expr="//a[@t-att-href='cta_btn_href']" position="attributes">
<attribute name="class" add="btn-lg" separator=" "/>
</xpath>
<xpath expr="//a[@t-att-href='cta_btn_href'][1]" position="replace" mode="inner">
<xpath expr="//a[@t-att-href='cta_btn_href']" position="replace" mode="inner">
GET TICKETS NOW
</xpath>
<xpath expr="//a[@t-att-href='cta_btn_href'][2]" position="replace"/>
<xpath expr="//a[@href='/contactus']" position="replace"/>
</template>
<!-- ======== NUMBERS GRID ======== -->
@@ -23,10 +23,6 @@
<br/>
Guided by expertise gained over 20 years of achieving success for clients, we practice with passion and strategic focus on the future.
</xpath>
<!-- Button -->
<xpath expr="//t[@t-esc='cta_btn_text']" position="replace" mode="inner">
Discover More
</xpath>
</template>
</odoo>