diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-11-09 11:16:28 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-11-09 11:16:28 +0100 |
| commit | c22eec5f7dd9b33d68294b609df7d912f6ca9c99 (patch) | |
| tree | 40397170c7fefccee564264da64719aad3a0aa0b /addons/mail/static/src/xml | |
| parent | bc0a84e0978facb882f03eb2cd25586c2c3b3e61 (diff) | |
[FIX] mail: scroll, avatar, delete attachments, print
bzr revid: chm@openerp.com-20121109101628-4e8cnjr1lcmt0tdv
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 2aeddd717b4..cd8fabc85d6 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -72,21 +72,21 @@ --> <t t-name="mail.thread.message.attachments"> <t t-foreach='widget.attachment_ids' t-as='attachment'> - <t t-if="widget.filetype(attachment) !== 'webimage'"> + <t t-if="attachment.filetype !== 'webimage'"> <div class='oe_attachment'> - <a t-att-href='attachment.url'><img t-att-src="'/mail/static/src/img/mimetypes/' + widget.filetype(attachment) + '.png'"></img></a> + <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='widget.breakword(attachment.name || attachment.filename)' /></div> + <div class='oe_name'><t t-raw='attachment.name' /></div> <div class='oe_progress_bar'> uploading </div> </div> </t> - <t t-if="widget.filetype(attachment) === 'webimage'"> + <t t-if="attachment.filetype === 'webimage'"> <div class='oe_attachment oe_preview'> <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='widget.breakword(attachment.name || attachment.filename)' /></div> + <div class='oe_name'><t t-raw='attachment.name' /></div> <div class='oe_progress_bar'> uploading </div> |
