~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: 2009-02-25 08:21:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090225082138-9xjes8motif205xw
Move the old tutorial views into the 'subjects' tab, so they get the right
icon and highlight the right tab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
class SubjectsView(XHTMLView):
37
37
    '''The view of the list of subjects.'''
38
38
    template = 'subjects.html'
39
 
    appname = 'subjects' # XXX
 
39
    tab = 'subjects'
40
40
 
41
41
    def authorize(self, req):
42
42
        return req.user is not None