~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:56:41 UTC
  • Revision ID: grantw@unimelb.edu.au-20090227075641-olwf0lvjwe39a7rz
Tags: 0.1.9.6
Display an edit link in WorksheetView, if we have privileges.

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
        ctx['worksheet'] = self.context
177
177
        ctx['semester'] = self.semester
178
178
        ctx['year'] = self.year
 
179
        ctx['user'] = req.user
179
180
        ctx['worksheetstream'] = genshi.Stream(list(genshi.XML(self.context.data)))
180
181
 
181
182
        generate_worksheet_data(ctx, req, self.context)