web/views/basecomponents.py
branchstable
changeset 6669 e4532c6acf34
parent 6477 a91f3541b3dd
child 6678 5726677f0ae7
equal deleted inserted replaced
6668:d651bf5a66a9 6669:e4532c6acf34
    88 
    88 
    89 class ApplLogo(HeaderComponent):
    89 class ApplLogo(HeaderComponent):
    90     """build the instance logo, usually displayed in the header"""
    90     """build the instance logo, usually displayed in the header"""
    91     __regid__ = 'logo'
    91     __regid__ = 'logo'
    92     order = -1
    92     order = -1
       
    93     context = _('header-left')
    93 
    94 
    94     def render(self, w):
    95     def render(self, w):
    95         w(u'<a href="%s"><img id="logo" src="%s" alt="logo"/></a>'
    96         w(u'<a href="%s"><img id="logo" src="%s" alt="logo"/></a>'
    96           % (self._cw.base_url(), self._cw.uiprops['LOGO']))
    97           % (self._cw.base_url(), self._cw.uiprops['LOGO']))
    97 
    98