summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2015-02-20 18:16:01 +0100
committerChristophe Simonis <chs@odoo.com>2015-02-20 18:16:01 +0100
commitaec02cb4935103aa7d158b56397c191932b35fa7 (patch)
tree82915059f96448510e6b1c5183611175c483e579 /addons/mail/static/src/xml/mail.xml
parente13923c0db1fd4ba9c98eacdcd987c6be7575a5f (diff)
parentd350f5b59e8905a76e965b6f34a0db14dbb53af0 (diff)
[MERGE] forward port of branch 8.0 up to d350f5b
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index bb5a41cccd6..05ed0debb5d 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -95,7 +95,7 @@
<img t-att-src="'/mail/static/src/img/mimetypes/' + attachment.file_type_icon + '.png'"></img>
<div class='oe_name'><t t-raw='attachment.name' /></div>
</a>
- <div class="oe_delete">
+ <div class="oe_delete" t-if="!attachment.upload">
<i class='fa fa-times-circle' title="Delete this attachment" t-att-data-id="attachment.id"/>
</div>
<div class='oe_progress_bar'>
@@ -109,7 +109,7 @@
<img t-att-src="widget.attachments_resize_image(attachment.id, [100,80])"></img>
<div class='oe_name'><t t-raw='attachment.name' /></div>
</a>
- <div class="oe_delete">
+ <div class="oe_delete" t-if="!attachment.upload">
<i class='fa fa-times-circle' title="Delete this attachment" t-att-data-id="attachment.id"/>
</div>
<div class='oe_progress_bar'>