Skip to content

Commit e0b3b87

Browse files
committed
[IMP] *: adapt xpath to s_product_catalog changes
*: theme_artists, theme_bistro Related to task-3665307 closes #1073 Related: odoo/odoo#209475 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent fa0c0d2 commit e0b3b87

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

theme_artists/views/snippets/s_product_catalog.xml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
<attribute name="style"/>
99
</xpath>
1010
<!-- Title container -->
11-
<xpath expr="//div[hasclass('text-center')]" position="attributes">
12-
<attribute name="class" remove="text-center pb48" separator=" "/>
13-
</xpath>
1411
<xpath expr="//h2" position="replace">
1512
<h2 style="text-align: left !important;">Upcoming Exhibitions</h2>
1613
</xpath>

theme_bistro/views/snippets/s_product_catalog.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
<div class="o_we_bg_filter bg-black-50"/>
1414
</xpath>
1515
<!-- Remove Title & lead -->
16-
<xpath expr="//div[hasclass('row')]" position="replace"/>
16+
<xpath expr="//section/div/h2" position="replace"/>
17+
<xpath expr="//section/div/p" position="replace"/>
1718
</template>
1819

1920
<template id="configurator_s_product_catalog" inherit_id="website.configurator_s_product_catalog">

0 commit comments

Comments
 (0)