summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml/notification.xml
AgeCommit message (Collapse)Author
2020-10-22[FIX] various: not translate the close icon of notificationsBenoit Socias
Same change in several areas where translations existed: - website editor notification popup - elearning share popup - forum remediation filter popup - event registration attendees popup - portal rating popup - stripe payment error popup And many other locations where there were no translations yet "&times;" has been replaced by its UTF8 character. Also introduced aria-label where missing. Before this commit the close icon was included in translated resources. For example, in Spanish the "&times;" had been turned into "&veces;" thus not rendering an icon anymore After this commit the close icon is not a translated text anymore and remains an icon across all languages https://github.com/odoo/odoo/pull/60186 task-2312878 closes odoo/odoo#60186 Related: odoo/enterprise#14209 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2020-10-09[FIX] web: fix notification designJérémy Hennecart
Fix the design of he notification which is sometimes broken (if there are lists or buttons display in it for example) task-2346462 closes odoo/odoo#58515 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2020-06-18[FIX] web: place the notification close button to the right endLaurent Stukkens (LTU)
Prior to this commit the close button of the notification is wrongly placed when no title is provided. Applying this commit places the close button at the right end. This commit also modifies the size of the buttons to btn-sm. task-2277737 Fixes #52229 closes odoo/odoo#53219 X-original-commit: caa3f1107ddaa4cdf6878f4532632a41bc710862 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2020-06-12[IMP] web: close button on non-sticky notificationsJulien Mougenot
2020-06-10[IMP] web,*: make notification title optionalDhruv Patel
*odoo_referral,portal Currently, it is not possible to have one line notification, when you are not passing the title parameter as an option when generating the notification,then it will display the blank div with the default button icon only. so it is not possible to have one-line notifications since the title is mandatory. So the purpose of the task is to make the title optional, allowing for more minimalistic notification. Also removed some unnecessary titles from the notification and some stying change. This commit also increase the autoclose delay of non sticky notifications, from 2.5s to 4s. task : 2264749 closes odoo/odoo#52229 Related: odoo/enterprise#10981 Signed-off-by: Aaron Bohy (aab) <aab@odoo.com> Co-authored-by: Dhruv Patel <dhp@odoo.com>
2019-06-28[IMP] web, *: display rpc warnings with toastsfja-odoo
* = 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
2019-04-24[IMP] web, *: share and improve notification systemqsm-odoo
* barcodes, calendar, partner_autocomplete, web_settings_dashboard Make the notification system better, using bootstrap toast component, and make it available in the frontend. The toast component allowed to remove some JS code and made the component customizable by themes but it had to be reviewed/fixed to make it functional (maybe bootstrap will review its work in next versions). This work should still be improved because there are still too many ways (deprecated and not deprecated) to instantiate toasts in the backend. The goal here was however to make the toasts more modern and make them available in the frontend. This work is needed for some tasks. @kig-odoo and @fja-odoo made a pre-work to instantiate toasts in the frontend for their respective tasks. This commit unifies the system. Part of https://github.com/odoo/odoo/pull/32793 task-1970731 closes odoo/odoo#32793 Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>