From ff1c35513aecef5fbc30f7c2f3834450e719714e Mon Sep 17 00:00:00 2001 From: Kevin Baptiste Date: Mon, 12 Aug 2019 07:18:23 +0000 Subject: [IMP] web: update to fontawesome 4.7.0 to 5.11.2 FontAwesome 5 introduced new names for some icons as described on https://fontawesome.com/how-to-use/on-the-web/setup/upgrading-from-version-4#name-changes This commit replaces the old names to the new ones. closes odoo/odoo#35826 Taskid: 2050241 Related: odoo/enterprise#5180 Signed-off-by: Yannick Tivisse (yti) --- addons/web/static/src/js/widgets/notification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/js/widgets/notification.js') diff --git a/addons/web/static/src/js/widgets/notification.js b/addons/web/static/src/js/widgets/notification.js index aad896bcd61..6e9dcd5fc0f 100644 --- a/addons/web/static/src/js/widgets/notification.js +++ b/addons/web/static/src/js/widgets/notification.js @@ -56,7 +56,7 @@ var Notification = Widget.extend({ this.icon = 'fa-exclamation'; this.className += ' bg-danger'; } else if (this.type === 'warning') { - this.icon = 'fa-lightbulb-o'; + this.icon = 'fa-lightbulb'; this.className += ' bg-warning'; } else if (this.type === 'success') { this.icon = 'fa-check'; @@ -67,7 +67,7 @@ var Notification = Widget.extend({ } if (this.buttons && this.buttons.length) { - this.icon = 'fa-question-circle-o'; + this.icon = 'fa-question-circle'; } }, /** -- cgit v1.2.3