summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorsgo@tinyerp.com <>2013-06-05 12:49:05 +0530
committersgo@tinyerp.com <>2013-06-05 12:49:05 +0530
commit6a3cdf718ce4f9bd2749bb75993cdbcfd86d3eb2 (patch)
tree075af0421f75fd36ca9f5cd44551e58ffc73460a /addons/mail/static/src/xml
parent143b485baf8adb7936d7784e314ccd405d1b8c14 (diff)
parent5cc8c30adfeccc6db22ebf7487b8e4ebdbe10423 (diff)
[MERGE]sync with trunk
bzr revid: sgo@tinyerp.com-20130605071905-o2ldzc6vxqnoe099
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/mail.xml4
-rw-r--r--addons/mail/static/src/xml/mail_followers.xml2
2 files changed, 4 insertions, 2 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>
diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml
index f3317223f1d..5ad3ff09bb3 100644
--- a/addons/mail/static/src/xml/mail_followers.xml
+++ b/addons/mail/static/src/xml/mail_followers.xml
@@ -19,7 +19,7 @@
</div>
<div class='oe_follower_title_box'>
<h4 class='oe_follower_title'>Followers</h4>
- <button t-if="widget.view_is_editable" href='#' class="oe_invite">Invite people</button>
+ <a t-if="widget.view_is_editable" href='#' class="oe_invite">Add others</a>
</div>
<div class="oe_follower_list"></div>
</div>