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

« back to all changes in this revision

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

Rename SubjectProjectSetView to OfferingProjectsView.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
        ctx['offering'] = self.context
134
134
        ctx['errors'] = errors
135
135
 
136
 
class SubjectProjectSetView(XHTMLView):
137
 
    """View the ProjectSets for a subject."""
138
 
    template = 'templates/subject_projects.html'
 
136
class OfferingProjectsView(XHTMLView):
 
137
    """View the projects for an offering."""
 
138
    template = 'templates/offering_projects.html'
139
139
    permission = 'edit'
140
140
    tab = 'subjects'
141
141
    
240
240
    urls = [
241
241
        ('subjects/', SubjectsView),
242
242
        ('subjects/:subject/:year/:semester/+enrolments/+new', EnrolView),
243
 
        ('subjects/:subject/:year/:semester/+projects', SubjectProjectSetView),
 
243
        ('subjects/:subject/:year/:semester/+projects', OfferingProjectsView),
244
244
        ('subjects/:subject/:year/:semester/+projects/:project', ProjectView),
245
245
        #API Views
246
246
        ('api/subjects/:subject/:year/:semester/+projectsets/+new',