From 765cfa040d2be43d76c9248bc1fa33137252c493 Mon Sep 17 00:00:00 2001 From: Aaron Bohy Date: Fri, 16 Oct 2015 12:06:22 +0200 Subject: [PATCH] [IMP] mail: client action: sidebar: hide livechat when empty Channel types that disable the 'add a channel' feature like the livechat are now only rendered in the sidebar of the client action if there exists at least one channel of that type. --- addons/mail/static/src/xml/client_action.xml | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/addons/mail/static/src/xml/client_action.xml b/addons/mail/static/src/xml/client_action.xml index 728e0716960..635fceb36a9 100644 --- a/addons/mail/static/src/xml/client_action.xml +++ b/addons/mail/static/src/xml/client_action.xml @@ -50,10 +50,22 @@ -
-

- -
+ + + + + + + + + + +
+

+ +
+