diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-01-04 12:10:04 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-01-04 12:10:04 +0100 |
| commit | e40b49a83884d68a6c6e37c882e490da93c5a040 (patch) | |
| tree | e22c472b785d8c8166327f958478efdc2a79a959 /addons/mail/static/src/xml/mail.xml | |
| parent | 8758afd045e7ac7d7f630cfa02b871012c06b547 (diff) | |
[IMP] mail: htmlEntities for the author email, select list of new partner by real email
bzr revid: chm@openerp.com-20130104111004-9l0hb6zu33o5b2v6
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index c1a32a2fe89..63f8a10658f 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -132,8 +132,8 @@ <div class="oe_emails_from"> <t t-foreach='widget.emails_from' t-as='email_from'> <label title="Add them into recipients and followers"> - <input type="checkbox" t-att-checked="email_from[1] ? 'checked' : undefind" t-att-data="email_from[0]"/> - <t t-raw="email_from[0]"/> + <input type="checkbox" t-att-checked="email_from[1] ? 'checked' : undefind" t-att-data="email_from[0][4]"/> + <t t-raw="email_from[0][2]"/> </label> </t> </div> @@ -243,8 +243,8 @@ <t t-if="widget.attachment_ids.length > 0"> <div class="oe_msg_attachment_list"></div> </t> - <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-raw="widget.author_id[1]"/></a> - <span t-if="widget.author_id and (!widget.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[1]"/></span> + <a t-if="widget.author_id and widget.options.show_link and widget.author_id[0]" t-attf-href="#model=res.partner&id=#{widget.author_id[0]}"><t t-raw="widget.author_id[2]"/></a> + <span t-if="widget.author_id and (!widget.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[2]"/></span> <span class='oe_subtle'>•</span> <span t-att-title="widget.date"><t t-raw="widget.timerelative"/></span> <span t-if="!widget.options.readonly" class='oe_subtle'>•</span> |
