summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2012-11-09 15:21:01 +0100
committerChristophe Matthieu <chm@openerp.com>2012-11-09 15:21:01 +0100
commit3dbf5a16116887190d04108e9f5d31ec8fb449f6 (patch)
treed3ea0c1e8a9edb9253b36eee1e2d79cfc9e990b8 /addons/mail/static/src/xml/mail.xml
parente093a555016a232a34855a93b55556cfca80440d (diff)
[FIX] mail: avatar, record_name, rerender with childs propagation
bzr revid: chm@openerp.com-20121109142101-izotiix03uvx29mm
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index cd8fabc85d6..e9f5b163239 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -73,7 +73,7 @@
<t t-name="mail.thread.message.attachments">
<t t-foreach='widget.attachment_ids' t-as='attachment'>
<t t-if="attachment.filetype !== 'webimage'">
- <div class='oe_attachment'>
+ <div t-attf-class="oe_attachment #{attachment.upload ? 'oe_uploading' : ''}">
<a t-att-href='attachment.url'><img t-att-src="'/mail/static/src/img/mimetypes/' + attachment.filetype + '.png'"></img></a>
<div class='oe_delete oe_e' title="Delete this attachment" t-attf-data-id="{attachment.id}">[</div>
<div class='oe_name'><t t-raw='attachment.name' /></div>
@@ -83,7 +83,7 @@
</div>
</t>
<t t-if="attachment.filetype === 'webimage'">
- <div class='oe_attachment oe_preview'>
+ <div t-attf-class="oe_attachment oe_preview #{attachment.upload ? 'oe_uploading' : ''}">
<a t-att-href='attachment.url'><img t-att-src="widget.attachments_resize_image(attachment.id, [100,100])"></img></a>
<div class='oe_delete oe_e'>[</div>
<div class='oe_name'><t t-raw='attachment.name' /></div>
@@ -109,7 +109,7 @@
<t t-name="mail.thread.list_recipients">
<div class="oe_mail_list_recipients">
To:
- <span t-if="!widget.is_private" class="oe_all_follower">Followers <t t-if="widget.parent_thread.parent_message.show_record_name" t-raw="' of &quot;' + widget.parent_thread.parent_message.record_name + '&quot;' "/></span>
+ <span t-if="!widget.is_private" class="oe_all_follower">Followers <t t-raw="' of &quot;' + widget.parent_thread.parent_message.record_name + '&quot;' "/></span>
<t t-if="!widget.is_private and widget.partner_ids.length"> and </t>
<t t-set="inc" t-value="0"/>
<t t-if="widget.partner_ids.length" t-foreach="widget.partner_ids" t-as="partner"><span t-attf-class="oe_partner_follower #{inc>=3?'oe_hidden':''}"><t t-if="inc" t-raw="', '"/><a t-attf-href="#model=res.partner&amp;id=#{partner[0]}"><t t-raw="partner[1]"/></a></span><t t-set="inc" t-value="inc+1"/>