~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-11 09:09:53 UTC
  • Revision ID: grantw@unimelb.edu.au-20100211090953-592dk5jruwdg1qrq
Declare appropriate tabs on the rest of the views.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
class OfferingEdit(XHTMLView):
125
125
    """A form to edit an offering's details."""
126
126
    template = 'templates/offering-edit.html'
 
127
    tab = 'subjects'
127
128
    permission = 'edit'
128
129
 
129
130
    def filter(self, stream, ctx):
202
203
class EnrolmentsView(XHTMLView):
203
204
    """A page which displays all users enrolled in an offering."""
204
205
    template = 'templates/enrolments.html'
 
206
    tab = 'subjects'
205
207
    permission = 'edit'
206
208
 
207
209
    def populate(self, req, ctx):