summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/chat_window.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-09-15 11:28:13 +0200
committerAaron Bohy <aab@odoo.com>2017-09-15 15:25:06 +0200
commit7a91d87614f9a72df1d81ee28a5f425517e9b218 (patch)
treebc30e753ecc419f93a7f156d10b557ffb9e4c6c1 /addons/mail/static/src/xml/chat_window.xml
parent9850cb1c3cbec7d77df14f06779a08223694b416 (diff)
[IMP] im_livechat, mail: Discuss UI in mobile
- Extract mobile specific code for the client action to a specific file - Massive clean of less rules - Unify channels preview of the systray dropdown and the mobile UI of Discuss - Ensure to only load the last message of each channel in mobile, as this is not used in desktop (unless the user opens the systray menu) - Make livechat available in Discuss mobile UI
Diffstat (limited to 'addons/mail/static/src/xml/chat_window.xml')
-rw-r--r--addons/mail/static/src/xml/chat_window.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/chat_window.xml b/addons/mail/static/src/xml/chat_window.xml
index b8e22e99249..525898dabd8 100644
--- a/addons/mail/static/src/xml/chat_window.xml
+++ b/addons/mail/static/src/xml/chat_window.xml
@@ -41,7 +41,7 @@
</t>
<t t-name="mail.ChatWindowHeaderContent">
- <span t-if="isMobile">
+ <span t-if="widget.isMobile">
<a href="#" class="o_chat_window_close fa fa-1x fa-arrow-left mr4"/>
</span>
<span class="o_chat_title">
@@ -49,7 +49,7 @@
<t t-esc="title"/>
<span t-if="unread_counter"> (<t t-esc="unread_counter"/>)</span>
</span>
- <span t-if="!isMobile" class="o_chat_window_buttons">
+ <span t-if="!widget.isMobile" class="o_chat_window_buttons">
<a href="#" class="o_chat_window_close fa fa-close"/>
</span>
</t>