~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/subject.py

  • Committer: Matt Giuca
  • Date: 2009-02-25 09:15:06 UTC
  • mfrom: (1118)
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090225091506-us2up5tfpxyxg73w
MergedĀ fromĀ trunk.

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
50
50
    ]
51
51
 
52
52
    tabs = [
53
 
        ('subjects', 'Subjects', 'Announcements and information about the '
54
 
         'subjects you are enrolled in.', 'subjects.png', 'subjects', 5)
 
53
        ('subjects', 'Subjects',
 
54
         'View subject content and complete worksheets',
 
55
         'subjects.png', 'subjects', 5)
55
56
    ]
56
57
 
57
58
    media = 'subject-media'