Changeset 3928
- Timestamp:
- 7 Feb 2009, 13:08:05 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup/branches/ulif-rewrite/src/waeup/app.py
r3896 r3928 74 74 def render(self): 75 75 return u'<div class="portlet"><a href="manage">Settings</a></div>' 76 77 class ManageFacultiesLink(grok.Viewlet): 78 grok.viewletmanager(LeftSidebar) 79 grok.context(IUniversity) 80 grok.view(Index) 81 grok.order(6) 82 # This is so cool! This link is only displayed, when the user is 83 # allowed to use it! 84 grok.require('waeup.manageUniversity') 85 86 def render(self): 87 return u'<div class="portlet"><a href="faculties">Manage faculties</a></div>' 88 89
Note: See TracChangeset for help on using the changeset viewer.