summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/thread.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2018-03-09 16:25:58 +0100
committerChristophe Simonis <chs@odoo.com>2018-03-09 16:25:58 +0100
commit0f57bdba72b592ca097d4cd3da99a75883d8c623 (patch)
tree94eef0c9aaf885c7f717bab5e468ca72b59a219d /addons/mail/static/src/xml/thread.xml
parent35f0797002e44ce5673e9fab63710d2764329694 (diff)
parent42659dc70c2b9b124e7e4fdc0449f660c3de5c76 (diff)
[MERGE] forward port branch saas-11.2 up to 42659dc70c2
Diffstat (limited to 'addons/mail/static/src/xml/thread.xml')
-rw-r--r--addons/mail/static/src/xml/thread.xml27
1 files changed, 14 insertions, 13 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml
index 4a7ba086ebf..26c093c3e84 100644
--- a/addons/mail/static/src/xml/thread.xml
+++ b/addons/mail/static/src/xml/thread.xml
@@ -51,6 +51,11 @@
<div t-if="widget.activeAttachment.type == 'image'" class="o_viewer_toolbar">
<ul class="list-inline">
<li>
+ <a class="o_rotate" href="#">
+ <i class="fa fa-2x fa-repeat"></i>
+ </a>
+ </li>
+ <li>
<a class="o_zoom_out" href="#">
<i class="fa fa-2x fa-search-minus"></i>
</a>
@@ -105,18 +110,14 @@
<!-- When a channel is empty-->
<div t-name="mail.EmptyChannel" class="o_mail_no_content">
- <div class="o_view_nocontent">
- <div class="o_nocontent_help">
- <t t-if="options.channel_id==='channel_inbox'">
- <p>Congratulations, your inbox is empty</p>
- <p>New messages appear here.</p>
- </t>
- <t t-if="options.channel_id==='channel_starred'">
- <p>No starred message</p>
- <p>You can mark any message as 'starred', and it shows up in this channel.</p>
- </t>
- </div>
- </div>
+ <t t-if="options.channel_id==='channel_inbox'">
+ <div class="o_thread_title">Congratulations, your inbox is empty</div>
+ <div>New messages appear here.</div>
+ </t>
+ <t t-if="options.channel_id==='channel_starred'">
+ <div class="o_thread_title">No starred message</div>
+ <div>You can mark any message as 'starred', and it shows up in this channel.</div>
+ </t>
</div>
<t t-name="mail.ChatThread.Content">
@@ -266,7 +267,7 @@
</t>
<t t-name="mail.Attachment">
- <t t-set="type" t-value="attachment.mimetype.split('/').shift()"/>
+ <t t-set="type" t-value="attachment.mimetype and attachment.mimetype.split('/').shift()"/>
<div t-attf-class="o_attachment #{attachment.upload ? 'o_attachment_uploading' : ''}" t-att-title="attachment.name">
<t t-if="type == 'image'">
<div class="o_image_box">