Changeset 4106 for waeup


Ignore:
Timestamp:
5 May 2009, 21:01:02 (16 years ago)
Author:
uli
Message:

Add a link to users administration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/app.py

    r4097 r4106  
    117117    def render(self):
    118118        return u'<div class="portlet"><a href="faculties">Manage faculties</a></div>'
     119
     120class ManageUsersLink(grok.Viewlet):
     121    grok.viewletmanager(LeftSidebar)
     122    grok.context(IUniversity)
     123    grok.view(Index)
     124    grok.order(6)
     125    grok.require('waeup.manageUniversity')
     126
     127    def render(self):
     128        return u'<div class="portlet"><a href="users">Manage users</a></div>'
Note: See TracChangeset for help on using the changeset viewer.