summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/discuss.xml
diff options
context:
space:
mode:
authorPrakash Prajapati <ppr@odoo.com>2019-02-22 09:32:03 +0000
committerAlexandre Kühn <aku@odoo.com>2019-04-15 11:28:03 +0000
commit5a310619cba4c6eacc5d70f2dc2450f4a4403240 (patch)
tree558c01f80257bba220c3e10bdb89e89bb21cd07b /addons/mail/static/src/xml/discuss.xml
parentaa5faae41c6e881f6410349d2f11f40819fcc7bb (diff)
[IMP] mail: improve document chat window
1. In the systray messaging menu, when hovering on a notification linked to a document chat, it now shows an "expand" icon. Clicking on icon opens the corresponding form view with the chatter. 2. Messages in a document chat window no longer show linked document in their header, as this is redundant with title of chat window. 3. Font size of words "on" and "from" in header of message in chat windows have been reduced in order to closely match font size of document link. Task-ID 1929169 closes odoo/odoo#30957 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/mail/static/src/xml/discuss.xml')
-rw-r--r--addons/mail/static/src/xml/discuss.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/discuss.xml b/addons/mail/static/src/xml/discuss.xml
index a4637ad9e02..afee3a84da2 100644
--- a/addons/mail/static/src/xml/discuss.xml
+++ b/addons/mail/static/src/xml/discuss.xml
@@ -316,7 +316,8 @@
<span class="o_preview_counter">
<t t-if="preview.unreadCounter &gt; 0">&amp;nbsp;(<t t-esc="preview.unreadCounter"/>)</t>
</span>
- <span class="o_last_message_date"> <t t-esc="preview.date ? preview.date.fromNow() : ''"/> </span>
+ <span t-if="preview.isLinkedToDocumentThread" class="o_discuss_icon o_thread_window_expand fa fa-expand"/>
+ <span class="o_last_message_date ml-auto mr-2"> <t t-esc="preview.date ? preview.date.fromNow() : ''"/> </span>
</div>
<div class="o_last_message_preview">
<t t-if="preview.body">