~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-12-16 03:04:34 UTC
  • mto: This revision was merged to the branch mainline in revision 1450.
  • Revision ID: me@williamgrant.id.au-20091216030434-5cktkj0pni1zqyju
Rename OfferingView to WorksheetsView, 'cause that's what it is.

Show diffs side-by-side

added added

removed removed

Lines of Context:
82
82
        return ("Worksheet(id=%s, name=%s, assessable=%s)"
83
83
                % (repr(self.id), repr(self.name), repr(self.assessable)))
84
84
 
85
 
class OfferingView(XHTMLView):
 
85
class WorksheetsView(XHTMLView):
86
86
    '''The view of the index of worksheets for an offering.'''
87
87
    template = 'templates/subjectmenu.html'
88
88
    tab = 'subjects' # XXX
645
645
                   DBWorksheet: WorksheetBreadcrumb
646
646
                  }
647
647
 
648
 
    views = [(Offering, ('+worksheets', '+index'), OfferingView),
 
648
    views = [(Offering, ('+worksheets', '+index'), WorksheetsView),
649
649
             (Offering, ('+worksheets', '+new'), WorksheetAddView),
650
650
             (Offering, ('+worksheets', '+edit'), WorksheetsEditView),
651
651
             (DBWorksheet, '+index', WorksheetView),