[IMP] theme_*: adapt themes with new s_unveil snippet
*: anelusia, avantgarde, aviato, beauty, bewise, bookstore, ernark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap This commit adapts the design of new s_unveil snippet for multiple themes. task-4104471 closes odoo/design-themes#860 Part-of: task-4077427 Related: odoo/odoo#176167 Signed-off-by: Soukéina Bojabza (sobo) <sobo@odoo.com>
This commit is contained in:
@@ -226,5 +226,30 @@ Check in theme_loftspace's primary_variables.scss and theme.scss -->
|
||||
<field name="name">website.library_image_17</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_newsletter.jpg</field>
|
||||
</record>
|
||||
<record id="s_unveil_bookstore_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_unveil_bookstore_1</field>
|
||||
<field name="name">website.s_unveil_bookstore_1</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_1.jpg</field>
|
||||
</record>
|
||||
<record id="s_unveil_bookstore_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_unveil_bookstore_2</field>
|
||||
<field name="name">website.s_unveil_bookstore_2</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_2.jpg</field>
|
||||
</record>
|
||||
<record id="s_unveil_bookstore_3" model="theme.ir.attachment">
|
||||
<field name="key">website.s_unveil_bookstore_3</field>
|
||||
<field name="name">website.s_unveil_bookstore_3</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_3.jpg</field>
|
||||
</record>
|
||||
<record id="s_unveil_bookstore_4" model="theme.ir.attachment">
|
||||
<field name="key">website.s_unveil_bookstore_4</field>
|
||||
<field name="name">website.s_unveil_bookstore_4</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_4.jpg</field>
|
||||
</record>
|
||||
<record id="s_unveil_bookstore_5" model="theme.ir.attachment">
|
||||
<field name="key">website.s_unveil_bookstore_5</field>
|
||||
<field name="name">website.s_unveil_bookstore_5</field>
|
||||
<field name="url">/theme_bookstore/static/src/img/snippets/s_unveil_5.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_unveil" inherit_id="website.s_unveil">
|
||||
<!-- Section -->
|
||||
<xpath expr="//section" position="attributes">
|
||||
<attribute name="class" add="o_cc o_cc2" separator=" "/>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Discover Your Next Favorite Book
|
||||
</xpath>
|
||||
<!-- Paragraph -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
Explore our vast collection and find your next great read.
|
||||
</xpath>
|
||||
<!-- Images -->
|
||||
<xpath expr="(//img)[1]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_unveil_bookstore_1</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_unveil_bookstore_2</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[3]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_unveil_bookstore_3</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[4]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_unveil_bookstore_4</attribute>
|
||||
</xpath>
|
||||
<xpath expr="(//img)[5]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_unveil_bookstore_5</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user