~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/user.py

  • Committer: William Grant
  • Date: 2010-02-04 00:35:01 UTC
  • Revision ID: grantw@unimelb.edu.au-20100204003501-8t9k61m30eiq1b3d
Add a 'Users' breadcrumb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
class UsersView(XHTMLView):
36
36
    """A list of all IVLE users."""
37
37
    template = 'templates/users.html'
 
38
    breadcrumb_text = 'Users'
38
39
 
39
40
    def authorize(self, req):
40
41
        return req.user.admin