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': [
|
||||
|
||||
@@ -275,5 +275,10 @@ Check in primary_variables.scss, theme.scss and theme_common's mixins.scss -->
|
||||
<field name="name">website.s_accordion_image_default_image</field>
|
||||
<field name="url">/theme_kea/static/src/img/snippets/s_media_list_2.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_kea/static/src/img/snippets/s_color_blocks_1.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/Blobs/12','flip':[],'showOnMobile':false,'shapeAnimationSpeed':'0'}</attribute>
|
||||
</xpath>
|
||||
<xpath expr="//div[hasclass('container')]" position="before">
|
||||
<div class="o_we_shape o_web_editor_Blobs_12"/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
A Deep Dive into Virtual Reality and Innovation
|
||||
</xpath>
|
||||
<xpath expr="//p[hasclass('lead')]" position="replace" mode="inner">
|
||||
Transform your digital experience with our latest VR solutions, where immersive technology meets creativity. Elevate your reality with experiences that blend innovation and interactivity seamlessly.
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user