[REM] share: removed not unnecessary links before the page title, as the links are in 'more'.
bzr revid: tde@openerp.com-20120629123326-ifzufvr2slmptebm
This commit is contained in:
parent
ac5871490e
commit
5b7ce38f98
|
@ -60,10 +60,10 @@ openerp.share = function(session) {
|
|||
self.add_items('other', [
|
||||
{ label: 'Share',
|
||||
callback: self.on_sidebar_click_share,
|
||||
classname: 'oe_chare' },
|
||||
classname: 'oe_share' },
|
||||
{ label: 'Embed',
|
||||
callback: self.on_sidebar_click_share,
|
||||
classname: 'oe_chare' },
|
||||
classname: 'oe_share' },
|
||||
]);
|
||||
});
|
||||
},
|
||||
|
|
|
@ -3,13 +3,7 @@
|
|||
-->
|
||||
<templates id="template" xml:space="preserve">
|
||||
|
||||
<t t-extend="ViewManagerAction">
|
||||
<t t-jquery="h2.oe_view_title" t-operation="before">
|
||||
<a class="oe_share_link" href="#share_link" title="Link or embed..."><img t-att-src='_s + "/share/static/src/img/share.png"'/></a>
|
||||
<a class="oe_share" href="#share" title="Share with..."><img t-att-src='_s + "/share/static/src/img/share.png"'/></a>
|
||||
</t>
|
||||
</t>
|
||||
|
||||
<!-- Extends Chatter widget in form view to add the invite button -->
|
||||
<t t-extend="mail.RecordThread">
|
||||
<t t-jquery="button.oe_mail_button_unfollow" t-operation="after">
|
||||
<button type="button" class="oe_share_mail oe_mail_button_mouseout">Invite</button>
|
||||
|
|
Loading…
Reference in New Issue