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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-11 09:21:20 UTC
  • Revision ID: matt.giuca@gmail.com-20100211092120-0s58j0ghcslbzkp9
ivle/webapp/admin/templates/subjects.html: Use req.publisher.generate rather than rolling its own offering_url function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
        return req.user is not None
63
63
 
64
64
    def populate(self, req, ctx):
 
65
        ctx['req'] = req
65
66
        ctx['user'] = req.user
66
67
        ctx['semesters'] = []
67
68
        for semester in req.store.find(Semester).order_by(Desc(Semester.year),