mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
[IMP] theme_*: adapt s_empowerment
task-4077615 Part of task-4077427 Part-of: odoo/design-themes#919 Related: odoo/odoo#180736 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com> Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
committed by
qsm-odoo
parent
3243aef15b
commit
75fc5fbaf0
@@ -58,6 +58,7 @@
|
||||
'views/snippets/s_wavy_grid.xml',
|
||||
'views/snippets/s_shape_image.xml',
|
||||
'views/snippets/s_text_cover.xml',
|
||||
'views/snippets/s_empowerment.xml',
|
||||
'views/new_page_template.xml',
|
||||
],
|
||||
'images': [
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 26 KiB |
@@ -407,5 +407,10 @@
|
||||
<field name="name">website.s_text_cover_default_image</field>
|
||||
<field name="url">/theme_notes/static/src/img/content/content_img_28.jpg</field>
|
||||
</record>
|
||||
<record id="s_empowerment_default_image" model="theme.ir.attachment">
|
||||
<field name="key">website.s_empowerment_default_image</field>
|
||||
<field name="name">website.s_empowerment_default_image</field>
|
||||
<field name="url">/theme_notes/static/src/img/content/s_empowerment_default_image.jpg</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
|
||||
<template id="s_empowerment" inherit_id="website.s_empowerment">
|
||||
<!-- Badge content -->
|
||||
<xpath expr="//span[hasclass('s_cta_badge')]" position="replace" mode="inner">
|
||||
<i class="fa fa-fw fa-info-circle o_not-animable" role="img"/>  High-energy performances    
|
||||
<a href="#">Listen to our latest tracks   <i class="fa fa-long-arrow-right" role="img"/></a>
|
||||
</xpath>
|
||||
<!-- Title -->
|
||||
<xpath expr="//h1" position="replace" mode="inner">
|
||||
Rock out with your favorite band on tour
|
||||
</xpath>
|
||||
<!-- Paragraphs -->
|
||||
<xpath expr="//p" position="replace" mode="inner">
|
||||
<br/>Bringing you unforgettable live music and electrifying shows.<br/><br/>
|
||||
</xpath>
|
||||
<!-- Button -->
|
||||
<xpath expr="//a[hasclass('btn')][1]" position="replace" mode="inner">
|
||||
Check tour dates
|
||||
</xpath>
|
||||
<!-- Second Button -->
|
||||
<xpath expr="//a[hasclass('btn')][2]" position="replace" mode="inner">
|
||||
Buy tickets
|
||||
</xpath>
|
||||
</template>
|
||||
|
||||
</odoo>
|
||||
Reference in New Issue
Block a user