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

« back to all changes in this revision

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

ivle.webapp.base.xhtml#XHTMLView: Rename app_template to template (the things
    that use it are views, not apps).

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
class SubjectsView(XHTMLView):
37
37
    '''The view of the list of subjects.'''
38
 
    app_template = 'subjects.html'
39
 
    appname = 'subjects'
 
38
    template = 'subjects.html'
 
39
    appname = 'subjects' # XXX
40
40
 
41
41
    def populate(self, req, ctx):
42
42
        req.styles = ["media/subjects/subjects.css"]
68
68
 
69
69
class SubjectView(XHTMLView):
70
70
    '''The view of a subject.'''
71
 
    app_template = 'subject.html'
 
71
    template = 'subject.html'
72
72
    appname = 'subjects' # XXX
73
73
 
74
74
    def __init__(self, req, subject, path):