Changeset 5382 for main/waeup.sirp/trunk/src
- Timestamp:
- 7 Aug 2010, 14:13:33 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/browser/viewlets.py
r5380 r5382 260 260 url, self.text) 261 261 262 263 class ManageFacultiesLink(grok.Viewlet):264 grok.viewletmanager(LeftSidebar)265 grok.context(IUniversity)266 grok.view(UniversityPage)267 grok.order(6)268 # This is so cool! This link is only displayed, when the user is269 # allowed to use it!270 grok.require('waeup.manageUniversity')271 272 def render(self):273 return u'<div class="portlet"><a href="faculties">Manage faculties</a></div>'274 275 262 class ManageUsersLink(ManageLink): 276 263 """A link to users management, placed in upper left box.
Note: See TracChangeset for help on using the changeset viewer.