From 3f7c75ef1f6094b1d47ec8f8564a5c0511d2d6ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 10 Apr 2018 15:53:51 +0200 Subject: [IMP] mail: display white background for user notifications in chatter User notifications are defined as * notes; * pushed to user Inbox or email through classic notification process; * not linked to any document, meaning model and res_id are void; When pushed in user's Inbox they are currently displayed with a gray background like all notes. However UX experts think it should use a white background to be easier to spot in chatter. This commit makes it work. From now on discussion and user's notifications are displayed using a white background. This commit is related to task ID 1829872. --- addons/im_livechat/static/src/js/im_livechat.js | 1 + 1 file changed, 1 insertion(+) (limited to 'addons/im_livechat/static/src') diff --git a/addons/im_livechat/static/src/js/im_livechat.js b/addons/im_livechat/static/src/js/im_livechat.js index fddf5ec6c2c..b392d337d04 100644 --- a/addons/im_livechat/static/src/js/im_livechat.js +++ b/addons/im_livechat/static/src/js/im_livechat.js @@ -237,6 +237,7 @@ var LivechatButton = Widget.extend({ is_needaction: false, is_note: data.is_note, is_discussion: data.is_discussion, + is_notification: data.is_notification, customer_email_data: [] }; -- cgit v1.2.3