diff options
| author | fja-odoo <fja@odoo.com> | 2019-06-11 12:26:57 +0000 |
|---|---|---|
| committer | fja-odoo <fja@odoo.com> | 2019-06-28 08:53:53 +0000 |
| commit | 283f8fed6e85f2df0386de46138129b4cadc52d7 (patch) | |
| tree | 296f46e0038125cf3b6a2e17b0c8d889f8c8dcac /addons/web/static/src/xml | |
| parent | 0d1407a715901ea06e9a7211c0e3dbe09fadb785 (diff) | |
[IMP] web, *: display rpc warnings with toasts
* = test_website, partner_autocomplete
- All the rpc warnings are now displayed using the notification system
of https://github.com/odoo/odoo/commit/b94395b50175925fc7d1bd3655e5facb78a8ba2b
- test_website is up to date
Part of https://github.com/odoo/odoo/pull/32132
task-1894820
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/notification.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/notification.xml b/addons/web/static/src/xml/notification.xml index 3ffe9e8979a..592c3ee23b0 100644 --- a/addons/web/static/src/xml/notification.xml +++ b/addons/web/static/src/xml/notification.xml @@ -16,7 +16,9 @@ <span class="d-inline" aria-hidden="true">&times;</span> </button> </div> - <div t-if="widget.message or widget.buttons.length" class="toast-body"> + <div t-if="widget.message or widget.subtitle or widget.buttons.length" class="toast-body"> + <strong t-if="widget.subtitle" t-raw="widget.subtitle" + class="o_notification_subtitle"/> <div t-if="widget.message" t-raw="widget.message" class="o_notification_content"/> <div t-if="widget.buttons.length" class="mt-2 o_notification_buttons"> |
