summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml/mail.xml
diff options
context:
space:
mode:
authorsgo@tinyerp.com <>2013-06-05 12:37:37 +0530
committersgo@tinyerp.com <>2013-06-05 12:37:37 +0530
commitd3c7f6becffc7830f8f4c26b6cef7842d4a8ac4a (patch)
tree6a21e7cca54f5eb1fedada25cd4d44bbf2f4c129 /addons/mail/static/src/xml/mail.xml
parent9f35da63763685c578031dcefe652cc95d8e3dd1 (diff)
parent5cc8c30adfeccc6db22ebf7487b8e4ebdbe10423 (diff)
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130605070737-5sdnhqzysi1lcnnj
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml
index 7e7d772397a..ab82d650f30 100644
--- a/addons/mail/static/src/xml/mail.xml
+++ b/addons/mail/static/src/xml/mail.xml
@@ -144,7 +144,9 @@
<t t-foreach='widget.recipients' t-as='recipient'>
<label t-attf-title="Add as recipient and follower (reason: #{recipient.reason})">
<input type="checkbox" t-att-checked="recipient.checked ? 'checked' : undefined" t-att-data="recipient.email_address"/>
- <t t-raw="recipient.name"/> (<t t-raw="recipient.email_address"/>)
+ <t t-raw="recipient.name"/>
+ <t t-if="recipient.email_address">(<t t-raw="recipient.email_address"/>)</t>
+ <t t-if="!recipient.email_address">(no email address)</t>
</label>
</t>
</div>