diff options
| author | Jeremy Kersten <jke@odoo.com> | 2020-08-28 13:04:45 +0000 |
|---|---|---|
| committer | Jeremy Kersten <jke@odoo.com> | 2020-08-28 14:35:32 +0000 |
| commit | 963215f488d12aa6fbb0c108dfd1c3dc557756d8 (patch) | |
| tree | e41fc443de172875bf39267bc9f6be2a0589f712 | |
| parent | bbe80dcb30c1f5f028bf05cd14a514c627f4ee92 (diff) | |
[IMP] website: Use contact us as default cta in header
| -rw-r--r-- | addons/website/models/website.py | 5 | ||||
| -rw-r--r-- | addons/website/views/website_templates.xml | 14 |
2 files changed, 11 insertions, 8 deletions
diff --git a/addons/website/models/website.py b/addons/website/models/website.py index 60605f6a5c4..80fe296e9e5 100644 --- a/addons/website/models/website.py +++ b/addons/website/models/website.py @@ -880,7 +880,10 @@ class Website(models.Model): Returns a tuple (name, url, icon). Where icon can be a module name, or a path """ - suggested_controllers = [(_('Homepage'), url_for('/'), 'website')] + suggested_controllers = [ + (_('Homepage'), url_for('/'), 'website'), + (_('Contact Us'), url_for('/contactus'), 'website_crm'), + ] return suggested_controllers @api.model diff --git a/addons/website/views/website_templates.xml b/addons/website/views/website_templates.xml index d30984fc12b..c20b8ea6f33 100644 --- a/addons/website/views/website_templates.xml +++ b/addons/website/views/website_templates.xml @@ -273,7 +273,7 @@ <div class="oe_structure" id="oe_structure_header_default_1"> <section class="s_text_block" data-snippet="s_text_block" data-name="Text"> <div class="container"> - <a href="#" class="btn btn-primary ml-4">Button</a> + <a href="/contactus" class="btn btn-primary ml-4">Contact Us</a> </div> </section> </div> @@ -349,7 +349,7 @@ <div class="oe_structure" id="oe_structure_header_hamburger_1"> <section class="s_text_block" data-snippet="s_text_block" data-name="Text"> <div class="container"> - <a href="#" class="btn btn-primary ml-4">Button</a> + <a href="/contactus" class="btn btn-primary ml-4">Contact Us</a> </div> </section> </div> @@ -682,7 +682,7 @@ <div class="oe_structure" id="oe_structure_header_slogan_1"> <section class="s_text_block" data-snippet="s_text_block" data-name="Text"> <div class="container"> - <h5 class="m-0" data-name="Slogan"><b>Slogan</b> for your Website</h5> + <h5 class="m-0" data-name="Slogan">We help <b>you</b> grow your business</h5> </div> </section> </div> @@ -694,7 +694,7 @@ <div class="oe_structure" id="oe_structure_header_slogan_2"> <section class="s_text_block" data-snippet="s_text_block" data-name="Text"> <div class="container"> - <a href="#" class="btn btn-primary ml-4">Button</a> + <a href="/contactus" class="btn btn-primary ml-4">Contact Us</a> </div> </section> </div> @@ -920,7 +920,7 @@ <div class="oe_structure" id="oe_structure_header_boxed_2"> <section class="s_text_block" data-snippet="s_text_block" name="Text"> <div class="container"> - <a href="#" class="btn btn-primary">Button</a> + <a href="/contactus" class="btn btn-primary ml-4">Contact Us</a> </div> </section> </div> @@ -1037,7 +1037,7 @@ <div class="oe_structure" id="oe_structure_header_image_2"> <section class="s_text_block" data-snippet="s_text_block" data-name="Text"> <div class="container"> - <a href="#" class="btn btn-primary mt-3 mt-lg-0 ml-lg-3">Button</a> + <a href="/contactus" class="btn btn-primary mt-3 mt-lg-0 ml-lg-3">Contact Us</a> </div> </section> </div> @@ -1174,7 +1174,7 @@ <div class="container"> <div class="row align-items-center"> <div class="col-lg-8 pt16"> - <p class="mb-0"><small>Add your custom text here</small></p> + <p class="mb-0"><small>We help you grow your business</small></p> </div> <div class="col-lg-4 text-lg-right pt16"> <div class="s_share no_icon_color" data-name="Social Media"> |
