diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-06-12 09:01:44 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-06-12 09:01:50 +0000 |
| commit | c4786fccfd23360a02e442c48ae2fb9f1e70aa4c (patch) | |
| tree | 95434422bfecf324a2112fadfc078a9bced134e7 /addons/website/static | |
| parent | d093fd4236a7c7f18645a85970cbdda6fec44c92 (diff) | |
[IMP] *: update notifications to optional title
closes odoo/odoo#52826
Related: odoo/enterprise#11084
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/website/static')
| -rw-r--r-- | addons/website/static/src/js/content/website_root.js | 1 | ||||
| -rw-r--r-- | addons/website/static/src/js/editor/snippets.options.js | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/addons/website/static/src/js/content/website_root.js b/addons/website/static/src/js/content/website_root.js index af176cec1c0..dedf5c94359 100644 --- a/addons/website/static/src/js/content/website_root.js +++ b/addons/website/static/src/js/content/website_root.js @@ -219,7 +219,6 @@ var WebsiteRoot = publicRootData.PublicRoot.extend(KeyboardNavigationMixin, { if (result) { self.displayNotification({ type: 'success', - title: _t("Congratulations"), message: $data.data('description') ? _.str.sprintf(_t("You've published your %s."), $data.data('description')) : _t("Published with success."), diff --git a/addons/website/static/src/js/editor/snippets.options.js b/addons/website/static/src/js/editor/snippets.options.js index 18599dfa955..d1d3365c67b 100644 --- a/addons/website/static/src/js/editor/snippets.options.js +++ b/addons/website/static/src/js/editor/snippets.options.js @@ -1625,8 +1625,7 @@ options.registry.anchor = options.Class.extend({ const anchor = decodeURIComponent(this._getAnchorLink()); this.displayNotification({ type: 'success', - title: _t("Copied !"), - message: _.str.sprintf(_t("The anchor has been copied to your clipboard.<br>Link: %s"), anchor), + message: _.str.sprintf(_t("Anchor copied to clipboard<br>Link: %s"), anchor), buttons: [{text: _t("Edit"), click: () => this.openAnchorDialog(), primary: true}], }); }); |
