Changeset 4780 for waeup


Ignore:
Timestamp:
10 Jan 2010, 02:19:05 (15 years ago)
Author:
uli
Message:

Add getAppTitle() method for layout. This way we can get rid of header
template.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-layout/src/waeup/browser/layout.py

    r4774 r4780  
    8686    grok.context(IWAeUPObject)
    8787
     88    def getAppTitle(self):
     89        return getattr(grok.getSite(), 'name', u'Sample University')
     90   
    8891    def isAuthenticated(self):
    8992        """Return True if the calling user is authenticated.
Note: See TracChangeset for help on using the changeset viewer.