Changeset 4592
- Timestamp:
- 1 Jan 2010, 15:50:15 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/browser/layout.py
r4584 r4592 24 24 piece can be removed. 25 25 """ 26 title = u'' # What appears in the content title... 27 26 28 def application_url(self, name=None): 27 29 """Return the URL of the nearest site. … … 93 95 grok.context(IWAeUPObject) 94 96 97 def getUserTitle(self): 98 usertitle = self.request.principal.title 99 if usertitle == 'Unauthenticated User': 100 return u'Login' 101 return usertitle 102 95 103 def update(self): 96 104 yui.reset_fonts_grids.need() 97 105 yui.sam.need() 98 yui.tabview.need()99 yui.layout.need()100
Note: See TracChangeset for help on using the changeset viewer.