summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorstefanorigano <sri@odoo.com>2017-08-08 09:22:41 +0200
committerqsm-odoo <qsm@odoo.com>2017-09-05 12:13:55 +0200
commit12b818d3759fc9eba19fa8a8ae8d050fe0c5fdc1 (patch)
tree6cf33ba555416a751fef8ab93f9a54c3f01803de /addons/mail/static/src/xml/thread.xml
parent378fe92b6096d50648d6aa4aa22e8629f4531c14 (diff)
[REF] mail: introduce new chatter/discuss design
- Improve overall design - Better use of UI colours - Replace planned activities icon - Vertically align kanban icons - Remove the 'bell shtcut' and followers caret - Use a mixin to style the chatter (inline, not inline, compact)
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
-rw-r--r--addons/mail/static/src/xml/thread.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml
index bdee6c580df..b15c5251cd0 100644
--- a/addons/mail/static/src/xml/thread.xml
+++ b/addons/mail/static/src/xml/thread.xml
@@ -53,12 +53,12 @@
t-att-src="message.avatar_src"
data-oe-model="res.partner"
t-att-data-oe-id="message.author_redirect ? message.author_id[0] : ''"
- t-attf-class="o_thread_message_avatar #{message.author_redirect ? 'o_mail_redirect' : ''}"/>
+ t-attf-class="o_thread_message_avatar img-circle #{message.author_redirect ? 'o_mail_redirect' : ''}"/>
</t>
<t t-if="message.mailto || !message.author_id[0]">
<img t-if="message.avatar_src &amp;&amp; message.display_author"
t-att-src="message.avatar_src"
- class="o_thread_message_avatar"/>
+ class="o_thread_message_avatar img-circle"/>
</t>
<span t-if="!message.display_author" t-att-title="message.date" class="o_thread_message_side_date">
<t t-esc="message.date.format('hh:mm')"/>
@@ -165,7 +165,8 @@
</t>
<t t-name="mail.ChatComposer.Attachments">
- <div class="o_attachments">
+ <div t-if="attachments.length > 0" class="o_attachments">
+ <h5 class="mt4 mb0 small text-muted">Attachments:</h5>
<t t-foreach="attachments" t-as='attachment'>
<t t-call="mail.Attachment">
<t t-set="editable" t-value="true"/>