summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/extended_chat_window.xml
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2016-02-11 10:43:44 +0100
committerAaron Bohy <aab@odoo.com>2016-03-02 13:39:16 +0100
commitdc81e5f66433be9a5610a969e972f2bb74e6c2a1 (patch)
treebbf0fd79daa067b64480b0362959df49308b2a7a /addons/mail/static/src/xml/extended_chat_window.xml
parent1e0bc5920f3990d481a3f65a6289b80c5bfbdb56 (diff)
[REF] mail: code refactoring
- extended_chat_window feature in its own files: as it is only available in the backend, we don't want it in the frontend assets (which contain the 'basic' chat_window) - move followers feature in its own files - creation of the 'mail.utils' module in utils.js - creation of systray.less to define the style of the mail item and dropdown in the navbar - use of chat_manager's search_partner function in PartnerInviteDialog - some code linting
Diffstat (limited to 'addons/mail/static/src/xml/extended_chat_window.xml')
-rw-r--r--addons/mail/static/src/xml/extended_chat_window.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/extended_chat_window.xml b/addons/mail/static/src/xml/extended_chat_window.xml
new file mode 100644
index 00000000000..cb6241039ab
--- /dev/null
+++ b/addons/mail/static/src/xml/extended_chat_window.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<templates xml:space="preserve">
+
+ <t t-name="mail.ExtendedChatWindow" t-extend="mail.ChatWindow">
+ <t t-jquery=".o_chat_header" t-operation="after">
+ <div t-if="widget.options.thread_less" class="o_chat_search_input">
+ <span> To: </span>
+ <input type="text"/>
+ </div>
+ </t>
+ </t>
+
+</templates>