mirror of
https://github.com/odoo/design-themes.git
synced 2025-10-07 01:18:52 +07:00
20cca57c52
If user selects 'schedule appointments' as main objective in the configurator and if the website_calendar module is installed then the Call To Action of snippets s_banner, s_cover and s_call_to_action is changed to 'Schedule an appointment' and redirect user to '/calendar' on click. task-2518565 closes odoo/design-themes#5 Related: odoo/odoo#71162 Related: odoo/enterprise#18690 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
24 lines
1.3 KiB
XML
24 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<template id="s_banner" inherit_id="website.s_banner">
|
|
<!-- Section -->
|
|
<xpath expr="//section" position="attributes">
|
|
<attribute name="data-oe-shape-data">{"shape":"web_editor/Wavy/13_001","flip":[]}</attribute>
|
|
</xpath>
|
|
<!-- Shape -->
|
|
<xpath expr="//section/*[last()]" position="after">
|
|
<div class="o_we_shape o_web_editor_Wavy_13_001"/>
|
|
</xpath>
|
|
<!-- Paragraph -->
|
|
<xpath expr="//div[hasclass('col-lg-6')]" position="replace">
|
|
<div class="col-lg-6 jumbotron rounded pt32 pb32 o_cc o_cc3 border shadow" style="border-width: 2px !important; border-color: rgb(44, 41, 39) !important; box-shadow: rgb(44, 41, 39) -25px -25px 0px 0px !important;">
|
|
<h1><font style="font-size: 62px; line-height: 48px;">A little place of paradise.</font></h1>
|
|
<p><br/></p>
|
|
<p class="lead">Because your children deserve the best, we welcome children from 0 to 3 years in a warm and specific environment for the needs of small children</p>
|
|
<p><br/></p>
|
|
<a t-att-href="cta_btn_href" class="btn btn-primary mb-2"><t t-esc="cta_btn_text">About us</t></a>
|
|
</div>
|
|
</xpath>
|
|
</template>
|
|
</odoo>
|