mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_split_intro snippet
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, cobalt, enark, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, real_estate, treehouse, vehicle, yes, zap. This commit reviews the occurrences of `s_split_intro` snippet across design themes. task-4077616 part of task-4077427 closes odoo/design-themes#876 Related: odoo/odoo#175321 Signed-off-by: Christopher du Toit (chto) <chto@odoo.com>
This commit is contained in:
@@ -430,5 +430,10 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
|
||||
<field name="name">website.s_text_cover_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_text_cover.jpg</field>
|
||||
</record>
|
||||
<record id="s_split_intro_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_split_intro_default_image</field>
|
||||
<field name="name">website.s_split_intro_default_image</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_split_intro_default_image.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_split_intro" inherit_id="website.s_split_intro">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc5" remove="o_cc1" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Left column -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Discover your<br/>next great read
|
||||
</xpath>
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
<br/>Step into a world of stories at our bookstore. From timeless classics to the latest bestsellers, we offer a curated selection of books to inspire and entertain. Whether you're an avid reader or just browsing, our cozy atmosphere and knowledgeable staff will help you find the perfect book to spark your imagination.<br/><br/>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user