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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/__init__.py

  • Committer: William Grant
  • Date: 2009-02-27 07:43:29 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227074329-d0rn5jmx7vve1nu9
Show a link to WorksheetsEditView on WorksheetsView if we have privileges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
        self.plugin_styles[Plugin] = ['tutorial.css']
91
91
 
92
92
        ctx['subject'] = self.context.subject
93
 
        ctx['year'] = self.context.semester.year
94
 
        ctx['semester'] = self.context.semester.semester
 
93
        ctx['offering'] = self.context
 
94
        ctx['user'] = req.user
95
95
 
96
96
        # As we go, calculate the total score for this subject
97
97
        # (Assessable worksheets only, mandatory problems only)