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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-02-27 07:34:59 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227073459-t5iiwjsb05nf7nug
Show group administration links on SubjectsView where privileges allow it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        return req.user is not None
45
45
 
46
46
    def populate(self, req, ctx):
 
47
        ctx['user'] = req.user
47
48
        ctx['semesters'] = []
48
49
        for semester in req.store.find(Semester).order_by(Desc(Semester.year),
49
50
                                                     Desc(Semester.semester)):