[IMP] web_livechat: better icons & text

bzr revid: chs@openerp.com-20101216112752-9xg4i9ompw1bi81v
This commit is contained in:
Christophe Simonis 2010-12-16 12:27:52 +01:00
parent d33f6f2903
commit 8a57904105
2 changed files with 3 additions and 3 deletions

View File

@ -32,7 +32,7 @@ class publisher_warranty_contract(osv.osv):
@cache(skiparg=3)
def get_default_livechat_text(self, cr, uid):
return '<a href="http://www.openerp.com/services/subscribe-onsite" target="_blank">OpenERP Publisher\'s Warranty</a>'
return '<a href="http://www.openerp.com/services/subscribe-onsite" target="_blank"><img src="/web_livechat/static/images/busy.png"/>Online Support</a>'
publisher_warranty_contract()

View File

@ -82,8 +82,8 @@ class HeaderTemplateEditor(openobject.templating.TemplateEditor):
skill: '0',
type: 'text',
labels: {
online: '<img src="/web_livechat/static/images/online.png"/>Need Help?',
offline: '<img src="/web_livechat/static/images/offline.png"/>Leave us a message'
online: '<img src="/web_livechat/static/images/available.png"/>Online Support',
offline: '<img src="/web_livechat/static/images/away.png"/>Online Support'
}
});
</script>