summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorXavierDo <xdo@odoo.com>2019-01-07 12:31:18 +0000
committerXavierDo <xdo@odoo.com>2019-02-07 08:54:33 +0000
commitc21d200285ebeb646b8e5be6ba233f96d9714c6f (patch)
tree456e22dba6bd235f1ed1143b224097f6a0e0f1dd /addons/mail/static/src/xml
parentb60224c41cb6c9817fd328bb60b21681e619fb26 (diff)
[IMP] mail: add ooo status in chats windows.
In a chat window with a single usert (dm_chat) the ooo status of the other user is displayed on the top when set. Task: 1856205
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/thread_window.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/thread_window.xml b/addons/mail/static/src/xml/thread_window.xml
index 4164bc0abc9..4d175fcf2b8 100644
--- a/addons/mail/static/src/xml/thread_window.xml
+++ b/addons/mail/static/src/xml/thread_window.xml
@@ -6,6 +6,9 @@
-->
<t t-name="mail.ThreadWindow" t-extend="mail.AbstractThreadWindow">
<t t-jquery=".o_thread_window_header" t-operation="after">
+ <div class="o_out_of_office" t-if="widget.getOutOfOfficeMessage() !== undefined">
+ <div class="o_out_of_office_text" t-esc="widget.getOutOfOfficeMessage()"/>
+ </div>
<div t-if="!widget.hasThread()" class="o_thread_search_input">
<span> To: </span>
<input type="text" placeholder="User name"/>