mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[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:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user