mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_shape_image
task-4094366 Part of task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
1ae012f908
commit
21bc9a1106
@@ -529,4 +529,11 @@
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_images_mosaic_default_image_5.jpg</field>
|
||||
</record>
|
||||
|
||||
<!-- Shape Image -->
|
||||
<record id="s_shape_image_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_shape_image_default_image</field>
|
||||
<field name="name">website.s_shape_image_default_image</field>
|
||||
<field name="url">/theme_bistro/static/src/img/content/s_shape_image_default_image.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_shape_image" inherit_id="website.s_shape_image">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Dining experiences
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
Savor our delectable dishes and enjoy a cozy atmosphere perfect for any occasion. Our menu features a blend of classic favorites and innovative creations, all crafted with fresh, high-quality ingredients.
|
||||
</xpath>
|
||||
<xpath expr="//p[2]" position="replace"/>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user