diff options
| author | Vishmita Jadeja (openerp) <vja@tinyerp.com> | 2013-03-22 13:52:06 +0530 |
|---|---|---|
| committer | Vishmita Jadeja (openerp) <vja@tinyerp.com> | 2013-03-22 13:52:06 +0530 |
| commit | f1db1ed7783b664ac3b6cceb085edfdddb7b8ee2 (patch) | |
| tree | 3e8065e2f597598d244f1084f209b3ba14b8c8d1 /addons/mail/static/src/xml/mail_followers.xml | |
| parent | e627fce6b8a3b9db56967a7b8d93b24a9bdc45f5 (diff) | |
[IMP]Add method for checking the group technical features.
bzr revid: vja@tinyerp.com-20130322082206-x2490850o8qbkmk0
Diffstat (limited to 'addons/mail/static/src/xml/mail_followers.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail_followers.xml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail_followers.xml b/addons/mail/static/src/xml/mail_followers.xml index 6420046477c..bdcfd1e048c 100644 --- a/addons/mail/static/src/xml/mail_followers.xml +++ b/addons/mail/static/src/xml/mail_followers.xml @@ -31,7 +31,8 @@ <div t-name="mail.followers.partner" class='oe_partner'> <img class="oe_mail_thumbnail oe_mail_frame" t-attf-src="{record.avatar_url}"/> <a t-attf-href="#model=res.partner&id=#{record.id}"><t t-raw="record.name"/></a> - <img t-if="widget.session.uid === 1" class="oe_edit_subtype" t-att-src='_s + "/mail/static/src/img/icon-edit.gif"' title="Edit Subtype" t-att-data-id="record.id"/> + <t t-js="d">console.log("dsfsdfd",d)</t> + <img t-if="widget.check_access" class="oe_edit_subtype" t-att-src='_s + "/mail/static/src/img/icon-edit.gif"' title="Edit Subtype" t-att-data-id="record.id"/> <span t-if="widget.view_is_editable" class="oe_remove_follower oe_e" title="Remove this follower" t-att-data-id="record.id">X</span> </div> |
