~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: 2010-02-17 08:44:13 UTC
  • Revision ID: grantw@unimelb.edu.au-20100217084413-w9jr1xwj7a6vbf1e
Only show edit/delete links for enrolments that you can actually touch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
552
552
        ctx['req'] = req
553
553
        ctx['offering'] = self.context
554
554
        ctx['mediapath'] = media_url(req, CorePlugin, 'images/')
 
555
        ctx['offering_perms'] = self.context.get_permissions(
 
556
            req.user, req.config)
555
557
        ctx['EnrolView'] = EnrolView
556
558
        ctx['EnrolmentEdit'] = EnrolmentEdit
557
559
        ctx['EnrolmentDelete'] = EnrolmentDelete