mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_intro_pill across themes
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap This commit adapts the occurrences of the `s_intro_pill` snippet across design-themes. task-4077581 Part of task-4077427 closes odoo/design-themes#882 Related: odoo/odoo#175615 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
This commit is contained in:
@@ -44,6 +44,7 @@
|
||||
'views/snippets/s_striped_center_top.xml',
|
||||
'views/snippets/s_key_images.xml',
|
||||
'views/snippets/s_quadrant.xml',
|
||||
'views/snippets/s_intro_pill.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
@@ -312,5 +312,15 @@
|
||||
<field name="name">website.s_kickoff_default_image</field>
|
||||
<field name="url">/theme_notes/static/src/img/content/content_img_24.jpg</field>
|
||||
</record>
|
||||
<record id="s_intro_pill_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_intro_pill_default_image</field>
|
||||
<field name="name">website.s_intro_pill_default_image</field>
|
||||
<field name="url">/theme_notes/static/src/img/content/s_intro_pill_default_image.jpg</field>
|
||||
</record>
|
||||
<record id="s_intro_pill_default_image_2" model="theme.ir.attachment">
|
||||
<field name="key">website.s_intro_pill_default_image_2</field>
|
||||
<field name="name">website.s_intro_pill_default_image_2</field>
|
||||
<field name="url">/theme_notes/static/src/img/content/s_intro_pill_default_image_2.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_intro_pill" inherit_id="website.s_intro_pill">
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Discover our<br/>latest album
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')]" position="replace" mode="inner">
|
||||
Listen now
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user