diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-10-25 14:26:52 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-10-27 13:24:47 +0100 |
| commit | 0790682296e43989e4e232189009c3ba380e32ba (patch) | |
| tree | 6a41a0bf0fb9db3515ad106fde3444a93ca805e9 /addons/mail/static/src/xml/mail.xml | |
| parent | 8abd003ef0f1a59b57fbdd85f54b8aadad68bed2 (diff) | |
[FIX] mail: read more show original message
Instead of html cleaned html, to allow display blockquotes
opw-614729
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 1e52105c739..e57b9d7d7a2 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -257,7 +257,10 @@ <t t-if="widget.subject" t-esc="widget.subject"/> </h1> <div class="oe_msg_body"> - <t t-raw="widget.body"/> + <t t-raw="!widget.body_original || widget.body.length > widget.options.truncate_limit ? widget.body: widget.body_original"/> + </div> + <div t-if="widget.body_original" class="oe_msg_original" style="display:none;"> + <t t-raw="widget.body_original"/> </div> </div> <div class="oe_msg_footer"> |
