summaryrefslogtreecommitdiff
path: root/addons/mail/static/src/xml
diff options
context:
space:
mode:
authorJérome Maes <jem@openerp.com>2015-09-03 13:52:57 +0200
committerJérome Maes <jem@openerp.com>2015-09-04 15:55:46 +0200
commit4bdfa3b6caefc6621d7043738708a766b4f80f69 (patch)
treeafb6edf03b57ac7dcc34ae84bb1d7266e6c93eb2 /addons/mail/static/src/xml
parent7674536713aaa3721ddb55e43ddf50585a4f20a0 (diff)
[IMP] mail : invite follower wizard have 2 appearances
The wizard is the same object, but to add channel as follower, some fields was not required. Via the 'mail_invite_follower_channel_only' context key, the unrelevant fields are hidden.
Diffstat (limited to 'addons/mail/static/src/xml')
-rw-r--r--addons/mail/static/src/xml/mail_followers.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml
index 059f67797bf..6370715695a 100644
--- a/addons/mail/static/src/xml/mail_followers.xml
+++ b/addons/mail/static/src/xml/mail_followers.xml
@@ -54,6 +54,9 @@
<li t-if="widget.view_is_editable" class="o_add_follower">
<a href="#"> Add followers </a>
</li>
+ <li t-if="widget.view_is_editable" class="o_add_follower_channel">
+ <a href="#"> Add Channels </a>
+ </li>
<li t-if="widget.view_is_editable and (widget.followers.length > 0)" class="divider"/>
</t>