diff options
| author | Parth Choksi <pch@odoo.com> | 2019-04-05 09:06:41 +0000 |
|---|---|---|
| committer | Parth Choksi <pch@odoo.com> | 2019-04-05 11:34:19 +0000 |
| commit | 378d7478b65df0fe5cc309fe5de4364960d61d43 (patch) | |
| tree | 8380e1a4fd030ea891e9b4b2377f96c01c946a2f /addons/website/static/src/xml | |
| parent | dc44bf3b6a630cf63d959f4a4d43ed6c207a62f8 (diff) | |
[IMP] website: improvements in SEO dialog
In this commit, we have changed behaviour of SEO dialog. Now when you
keep title and description fields empty, then the page will use default
title and description. We have added default_title and default_description
to render the preview with default values when title and description
fields are empty in SEO dialog.
Task ID:1949636
closes odoo/odoo#32449
Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons/website/static/src/xml')
| -rw-r--r-- | addons/website/static/src/xml/website.seo.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website/static/src/xml/website.seo.xml b/addons/website/static/src/xml/website.seo.xml index bf2de26d4ce..1aac9fc49a7 100644 --- a/addons/website/static/src/xml/website.seo.xml +++ b/addons/website/static/src/xml/website.seo.xml @@ -62,13 +62,13 @@ <label for="website_meta_title"> Title <i class="fa fa-question-circle-o" title="The title will take a default value unless you specify one."/> </label> - <input type="text" name="website_meta_title" id="website_meta_title" class="form-control" maxlength="70" size="70"/> + <input type="text" name="website_meta_title" id="website_meta_title" class="form-control" placeholder="Keep empty to use default value" maxlength="70" size="70"/> </div> <div class="form-group"> <label for="website_meta_description"> Description <i class="fa fa-question-circle-o" title="The description will be generated by search engines based on page content unless you specify one."/> </label> - <textarea name="website_meta_description" id="website_meta_description" class="form-control"/> + <textarea name="website_meta_description" id="website_meta_description" placeholder="Keep empty to use default value" class="form-control"/> <div class="alert alert-warning mt16 mb0 small" id="website_meta_description_warning" style="display: none;"/> </div> </div> @@ -140,7 +140,7 @@ </div> <div class="col-lg-6"> <div class="card p-0 mb16"> - <div class="card-header">Preview</div> + <div class="card-header">Social Preview</div> <img class="card-img-top o_meta_active_img" t-att-src="widget.activeMetaImg"/> <div class="card-body px-3 py-2"> <h6 class="text-alpha card-title mb0"><t t-esc="widget.metaTitle"/></h6> |
