web/views/basecomponents.py
changeset 9760 7bc3e55d365e
parent 9552 1358f8ef1b5b
child 10080 bc7c3b0f439b
equal deleted inserted replaced
9759:846bc9227394 9760:7bc3e55d365e
    95     __select__ = yes() # no need for a cnx
    95     __select__ = yes() # no need for a cnx
    96     order = -1
    96     order = -1
    97     context = _('header-left')
    97     context = _('header-left')
    98 
    98 
    99     def render(self, w):
    99     def render(self, w):
   100         w(u'<a href="%s"><img id="logo" src="%s" alt="logo"/></a>'
   100         w(u'<a id="logo" href="%s"></a>' % self._cw.base_url())
   101           % (self._cw.base_url(), self._cw.uiprops['LOGO']))
       
   102 
   101 
   103 
   102 
   104 class ApplicationName(HeaderComponent):
   103 class ApplicationName(HeaderComponent):
   105     """display the instance name"""
   104     """display the instance name"""
   106     __regid__ = 'appliname'
   105     __regid__ = 'appliname'