[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:
Chrysanthe (chgo)
2024-08-26 09:11:04 +02:00
committed by qsm-odoo
parent 1ae012f908
commit 21bc9a1106
70 changed files with 399 additions and 1 deletions
+1
View File
@@ -56,6 +56,7 @@
'views/snippets/s_big_number.xml',
'views/snippets/s_image_frame.xml',
'views/snippets/s_wavy_grid.xml',
'views/snippets/s_shape_image.xml',
'views/new_page_template.xml',
],
'images': [
Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

+5
View File
@@ -382,5 +382,10 @@
<field name="name">website.s_images_mosaic_default_image_5</field>
<field name="url">/theme_notes/static/src/img/content/content_img_30.jpg</field>
</record>
<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_notes/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">
Music performances
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace" mode="inner">
Experience captivating live music with our talented band. We offer a range of genres and styles to suit any event, providing high-energy performances that create unforgettable memories for your audience.
</xpath>
<xpath expr="//p[2]" position="replace"/>
</template>
</odoo>