summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2016-02-02 14:48:31 +0100
committerChristophe Simonis <chs@odoo.com>2016-02-02 14:48:31 +0100
commit2611a8198eaac60cf424742e4dc411700e439352 (patch)
tree64b4c0c2cbbf6199995b3f5db5e213d6813ab830 /addons/mail/static/src/xml/thread.xml
parent7e44ddcda3f21c7e6401173539dc0fe93f9a7dd2 (diff)
parente765569d04766ca005484c4746faeb08bd917446 (diff)
[MERGE] forward port of branch saas-7 up to e765569
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
-rw-r--r--addons/mail/static/src/xml/thread.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml
index 970c8ff6a6f..ca863d9ad8f 100644
--- a/addons/mail/static/src/xml/thread.xml
+++ b/addons/mail/static/src/xml/thread.xml
@@ -46,7 +46,7 @@
</t>
<t t-name="mail.ChatThread.Message">
- <div class="o_thread_message" t-att-data-message-id="message.id">
+ <div t-att-class="'o_thread_message' + (message.expanded ? ' o_message_expanded' : '')" t-att-data-message-id="message.id">
<div t-if="options.display_avatar" class="o_thread_message_sidebar">
<t t-if="!message.mailto &amp;&amp; message.author_id[0]">
<img t-if="message.avatar_src &amp;&amp; message.display_author"
@@ -97,7 +97,7 @@
(from <a t-att-data-oe-id="message.origin_id" href="#">#<t t-esc="message.origin_name"/></a>)
</t>
<span>
- <i t-if="options.display_stars &amp;&amp; message.message_type != 'notification'"
+ <i t-if="options.display_stars &amp;&amp; !message.is_system_notification"
t-att-class="'fa fa-lg o_thread_message_star ' + (message.is_starred ? 'fa-star' : 'fa-star-o')"
t-att-data-message-id="message.id" title="Mark as Todo"/>
<i t-if="message.is_needaction &amp;&amp; options.display_needactions"