mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt themes with new s_striped_top snippet
*: (anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, enark, graphene, kea, kiddo, loftspace, monglia, notes, odoo_experts, orchid, real_estate, vehicle, yes, zap) This commit adapts the design of new `s_striped_top` snippet for multiple themes. task-4077621 closes odoo/design-themes#850 Related: odoo/odoo#175525 Signed-off-by: Serge Bayet (seba) <seba@odoo.com>
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
|
||||
'views/snippets/s_cta_box.xml',
|
||||
'views/snippets/s_carousel.xml',
|
||||
'views/snippets/s_striped_top.xml',
|
||||
'views/snippets/s_image_text.xml',
|
||||
'views/snippets/s_media_list.xml',
|
||||
'views/snippets/s_company_team.xml',
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_striped_top" inherit_id="website.s_striped_top">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="attributes">
|
||||
<attribute name="class" add="h2-fs" separator=" "/>
|
||||
</xpath>
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Discover the Ultimate Festival Experience
|
||||
</xpath>
|
||||
<!-- Lead -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
Enjoy the atmosphere
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="//img" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_picture_default_image</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user