[IMP] website_slides: change confirmation messages for email

Purpose
=======
Clean up messages related to email verification.

Specification
=============
Rephrase messages, add confirmation of email sent and let user change
email.
Do not show "Validation Email sent" if the current user changed their
email address.

PR: https://github.com/odoo/odoo/pull/77617
Task-2647065

closes odoo/odoo#77617

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
This commit is contained in:
Fabio Barbero
2021-10-12 11:44:40 +00:00
parent c81b46d5e6
commit 2d65d022d9
7 changed files with 38 additions and 10 deletions
@@ -27,7 +27,7 @@ publicWidget.registry.websiteProfile = publicWidget.Widget.extend({
params: {'redirect_url': $element.data('redirect_url')},
}).then(function (data) {
if (data) {
self.$('button.validation_email_close').click();
window.location = $element.data('redirect_url');
}
});
},