diff options
| author | Christophe Matthieu <chm@openerp.com> | 2012-12-21 12:14:00 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2012-12-21 12:14:00 +0100 |
| commit | f080e91168861bc2b404a126029f625e1bb84d3e (patch) | |
| tree | 11ae5551d95df484602ebc92ab5cad64643141f4 /addons/mail/static/src/xml | |
| parent | 9fe900791d1388159e600a263bbadc5683267ece (diff) | |
[IMP] mail: add message 'Add this contact's email on recipient and follower'
bzr revid: chm@openerp.com-20121221111400-ngc62hepbgzqepy8
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 351e762c2f4..f878b4204f1 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -113,8 +113,8 @@ <t t-if="!widget.parent_thread.parent_message.record_name">this document</t> </span> </t> - <t t-if="!widget.is_private and (widget.partner_ids.length || widget.author_id)"> and </t> - <t t-if="widget.author_id"> + <t t-if="!widget.is_private and (widget.partner_ids.length or (widget.author_id and widget.author_id[0]))"> and </t> + <t t-if="widget.author_id and widget.author_id[0]"> <a t-if="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.options.show_link or !widget.author_id[0])"><t t-raw="widget.author_id[1]"/></span> <t t-if="widget.partner_ids.length" t-raw="', '"/> @@ -132,6 +132,7 @@ </t> </div> <div class="oe_emails_from" t-if="widget.emails_from.length"> + Add this contact's email on recipient and follower : <t t-foreach='widget.emails_from' t-as='email_from'> <label><input type="checkbox" t-att-checked="email_from[1] ? 'checked' : undefind" t-att-data="email_from[0]"/> <t t-raw="email_from[0]"/></label> </t> |
