Files
design-themes/theme_odoo_experts/views/snippets/s_banner.xml
T
Sébastien Mottet (oms) 20cca57c52 [IMP] website: change CTA based on website main objective
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>
2021-06-29 12:57:11 +00:00

30 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="class" add="o_half_screen_height" separator=" "/>
</xpath>
<!-- Shadow -->
<xpath expr="//div[hasclass('col-lg-6')]" position="attributes">
<attribute name="class" add="rounded" separator=" "/>
<attribute name="style" add="box-shadow: rgb(92, 92, 92) 25px 25px 0px 0px !important; border-radius: 25px !important;" separator=" "/>
</xpath>
<!-- Title -->
<xpath expr="//h1" position="replace">
<h1>
<font style="font-size: 62px; line-height: 48px;">If results matter to you</font>
</h1>
</xpath>
<!-- Paragraphs -->
<xpath expr="//p" position="replace">
<p><br/></p>
<p class="lead">Guided by expertise gained over 20 years of achieving success for clients, we practice with passion and strategic focus on the future.</p>
</xpath>
<!-- Button -->
<xpath expr="//t[@t-esc='cta_btn_text']" position="replace">
<t t-esc="cta_btn_text">Discover More</t>
</xpath>
</template>
</odoo>