- Timestamp:
- 29 Dec 2009, 17:18:55 (15 years ago)
- Location:
- waeup/branches/ulif-layout/src/waeup
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-layout/src/waeup/viewlets.py
r4575 r4589 161 161 grok.order(1) 162 162 163 class Login(grok.Viewlet):164 """This viewlet allows to login in the sidebar.165 """166 grok.viewletmanager(LeftSidebar)167 grok.context(IUniversity)168 grok.view(Index)169 grok.order(2)170 171 def isAuthenticated(self):172 """Is the calling user authenticated?173 """174 return self.request.principal.id != 'zope.anybody'175 176 163 class ExportLink(grok.Viewlet): 177 164 grok.viewletmanager(LeftSidebar)
Note: See TracChangeset for help on using the changeset viewer.