~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: 2010-07-27 09:02:06 UTC
  • mto: This revision was merged to the branch mainline in revision 1824.
  • Revision ID: grantw@unimelb.edu.au-20100727090206-pmf5j6lu6xc892q8
Replace semester.semester with semester.{code,url_name,display_name}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
83
83
 
84
84
        ctx['subject'] = self.context.offering.subject
85
85
        ctx['worksheet'] = self.context
86
 
        ctx['semester'] = self.context.offering.semester.semester
 
86
        ctx['semester'] = self.context.offering.semester.url_name
87
87
        ctx['year'] = self.context.offering.semester.year
88
88
 
89
89
        ctx['worksheetstream'] = genshi.Stream(list(genshi.XML(self.context.data_xhtml)))
461
461
        
462
462
        ctx['subject'] = self.context.subject
463
463
        ctx['year'] = self.context.semester.year
464
 
        ctx['semester'] = self.context.semester.semester
 
464
        ctx['semester'] = self.context.semester.url_name
465
465
        
466
466
        ctx['worksheets'] = self.context.worksheets
467
467