Skip to content

Commit 3809619

Browse files
SergeBayetxlu-odoo
authored andcommitted
[IMP] *: adapt themes due to changes made in s_picture snippet
*: theme_bistro, theme_odoo_experts, theme_vehicle, theme_avantgarde, theme_aviato, theme_bookstore, theme_enark, theme_graphene, theme_kea This commit adapts the themes to accommodate layout changes in the s_picture snippet. See also : odoo/odoo#145413 task-3626753 closes odoo#753 Related: odoo/odoo#145413 Signed-off-by: Benoit Socias (bso) <[email protected]>
1 parent 59833de commit 3809619

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

theme_avantgarde/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const snippets = [
88
},
99
{
1010
id: 's_picture',
11-
name: 'Picture',
11+
name: 'Title - Image',
1212
},
1313
{
1414
id: 's_three_columns',

theme_aviato/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const snippets = [
2626
},
2727
{
2828
id: 's_picture',
29-
name: 'Picture',
29+
name: 'Title - Image',
3030
},
3131
];
3232

theme_bistro/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const snippets = [
1313
},
1414
{
1515
id: 's_picture',
16-
name: 'Picture',
16+
name: 'Title - Image',
1717
},
1818
{
1919
id: 's_product_catalog',

theme_bistro/views/snippets/s_picture.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<attribute name="class" add="o_cc3 pt64" remove="o_cc2 pt48 pb24" separator=" "/>
88
</xpath>
99
<!-- Size -->
10-
<xpath expr="//div[hasclass('col-lg-10')]" position="attributes">
11-
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-10 offset-lg-1" separator=" "/>
10+
<xpath expr="//div[hasclass('col-lg-12')]" position="attributes">
11+
<attribute name="class" add="col-lg-8 offset-lg-2" remove="col-lg-12" separator=" "/>
1212
</xpath>
1313
<!-- Title -->
1414
<xpath expr="//h2" position="replace" mode="inner">

theme_bookstore/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const snippets = [
1818
},
1919
{
2020
id: 's_picture',
21-
name: 'Picture',
21+
name: 'Title - Image',
2222
},
2323
{
2424
id: 's_product_list',

theme_enark/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const snippets = [
99
},
1010
{
1111
id: 's_picture',
12-
name: 'Picture',
12+
name: 'Title - Image',
1313
},
1414
{
1515
id: 's_numbers',

theme_graphene/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const snippets = [
1717
},
1818
{
1919
id: 's_picture',
20-
name: 'Picture',
20+
name: 'Title - Image',
2121
},
2222
{
2323
id: 's_comparisons',

theme_kea/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const snippets = [
1313
},
1414
{
1515
id: 's_picture',
16-
name: 'Picture',
16+
name: 'Title - Image',
1717
},
1818
{
1919
id: 's_image_text',

theme_odoo_experts/static/src/js/tour.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { _t } from "@web/core/l10n/translation";
66
const snippets = [
77
{
88
id: 's_picture',
9-
name: 'Picture',
9+
name: 'Title - Image',
1010
},
1111
{
1212
id: 's_references',

theme_odoo_experts/views/snippets/s_picture.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
</p>
3333
</xpath>
3434
<!-- Image -->
35-
<xpath expr="//div[hasclass('col-lg-10')]//img" position="attributes">
35+
<xpath expr="//div[hasclass('col-lg-12')]//img" position="attributes">
3636
<attribute name="src">/web_editor/image_shape/website.s_picture_default_image/web_editor/devices/macbook_front.svg?c3=o-color-3</attribute>
3737
<attribute name="data-shape">web_editor/devices/macbook_front</attribute>
3838
<attribute name="data-original-mimetype">image/jpg</attribute>

0 commit comments

Comments
 (0)