[IMP] theme_*: adapt theme with new s_image_hexagonal snippet
*: anelusia, artists, aviato, beauty, bewise, bistro, bookstore, buzzy, kea, kiddo, monglia, notes, orchid, vehicle, yes This commit adapts the design of new `s_image_hexagonal` snippet for multiple themes task-4094377 closes odoo/design-themes#857 Related: odoo/odoo#175813 Signed-off-by: Benoit Socias (bso) <bso@odoo.com>
This commit is contained in:
@@ -290,5 +290,11 @@ Check in theme_kea's primary_variables.scss, theme.scss and theme_common's mixin
|
||||
<field name="name">website.s_pricelist_boxed_default_background</field>
|
||||
<field name="url">/theme_yes/static/src/img/snippets/s_pricelist_boxed_default_background.jpg</field>
|
||||
</record>
|
||||
<!-- // Image Hexagonal // -->
|
||||
<record id="s_image_hexagonal_default_image_1" model="theme.ir.attachment">
|
||||
<field name="key">website.s_image_hexagonal_default_image_1</field>
|
||||
<field name="name">website.s_image_hexagonal_default_image_1</field>
|
||||
<field name="url">/theme_yes/static/src/img/snippets/s_image_hexagonal_1.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_image_hexagonal" inherit_id="website.s_image_hexagonal">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h2" position="replace" mode="inner">
|
||||
Enjoy the moment, we take care of everything
|
||||
</xpath>
|
||||
<!-- Image -->
|
||||
<xpath expr="(//img)[2]" position="attributes">
|
||||
<attribute name="src">/web/image/website.s_cover_default_image</attribute>
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user