mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_anelusia, *: adapt s_image_title
*: theme_artists, theme_avantgarde, theme_aviato, theme_beauty, theme_bewise, theme_bistro, theme_bookstore, theme_buzzy, theme_clean, theme_cobalt, theme_enark, theme_graphene, theme_kea, theme_kiddo, theme_monglia, theme_nano, theme_notes, theme_odoo_experts, theme_orchid, theme_paptic, theme_real_estate, theme_treehouse, theme_vehicle, theme_yes, theme_zap, theme_loftspace This commit adapts customizations for `s_image_title`, added in https://github.com/odoo/odoo/pull/176631 task-4105319 Part of task-4077427 closes odoo/design-themes#867 Related: odoo/odoo#176631 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
'views/snippets/s_pricelist_boxed.xml',
|
||||
'views/snippets/s_image_hexagonal.xml',
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_image_title.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
@@ -249,5 +249,10 @@
|
||||
<field name="name">website.s_accordion_image_default_image</field>
|
||||
<field name="url">/theme_kiddo/static/src/img/snippets/library_image_14.jpg</field>
|
||||
</record>
|
||||
<record id="s_image_title_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_image_title_default_image</field>
|
||||
<field name="name">website.s_image_title_default_image</field>
|
||||
<field name="url">/theme_kiddo/static/src/img/snippets/s_banner.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_image_title" inherit_id="website.s_image_title">
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="data-oe-shape-data">{'shape':'web_editor/Floats/12','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0','animated':'true'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Floats_12 o_we_animated"/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
A Deep Dive into Play and Learning
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
Transform your child’s day with our engaging programs, where fun meets discovery. Elevate their growth with activities that blend playfulness and learning seamlessly.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user