[IMP] web addons: Use webclient's Systray tooltips
bzr revid: fme@openerp.com-20120301100007-wobb5a8h87x2q47g
This commit is contained in:
@@ -38,9 +38,6 @@ openerp.web_livechat.Livechat = openerp.web.Widget.extend({
|
||||
self.$element.click(self.do_open_url);
|
||||
}
|
||||
});
|
||||
this.$element.on('hover', '.oe_systray_livechat img', function() {
|
||||
$(this).tipsy();
|
||||
});
|
||||
},
|
||||
|
||||
do_open_url: function(evt) {
|
||||
@@ -75,8 +72,8 @@ openerp.web_livechat.Livechat = openerp.web.Widget.extend({
|
||||
skill: '2',
|
||||
type: 'text',
|
||||
labels: {
|
||||
online: '<img src="/web_livechat/static/src/img/available.png" title="Support"/>',
|
||||
offline: '<img src="/web_livechat/static/src/img/away.png" title="Support"/>',
|
||||
online: '<img src="/web_livechat/static/src/img/available.png"/>',
|
||||
offline: '<img src="/web_livechat/static/src/img/away.png"/>',
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
-->
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="Systray.LiveChat">
|
||||
<div class="oe_systray_livechat">
|
||||
<img src="/web_livechat/static/src/img/busy.png" title="Support"/>
|
||||
<div class="oe_systray_livechat" title="Support">
|
||||
<a href="#"><img src="/web_livechat/static/src/img/busy.png"/></a>
|
||||
</div>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
-->
|
||||
<templates id="template" xml:space="preserve">
|
||||
<t t-name="Systray.UserVoice">
|
||||
<div class="oe_systray_uservoice"><a href="#" title="Feedback"><img src="/web_uservoice/static/src/img/uv_favicon.png"/></a></div>
|
||||
<div class="oe_systray_uservoice" title="Feedback"><a href="#"><img src="/web_uservoice/static/src/img/uv_favicon.png"/></a></div>
|
||||
</t>
|
||||
</templates>
|
||||
|
||||
Reference in New Issue
Block a user