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

« back to all changes in this revision

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

Put the project listing and view in the Subjects tab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
137
137
    """View the ProjectSets for a subject."""
138
138
    template = 'templates/subject_projects.html'
139
139
    permission = 'edit'
 
140
    tab = 'subjects'
140
141
    
141
142
    def __init__(self, req, subject, year, semester):
142
143
        self.context = req.store.find(Offering,
207
208
    """View the submissions for a ProjectSet"""
208
209
    template = "templates/project.html"
209
210
    permission = "edit"
 
211
    tab = 'subjects'
210
212
 
211
213
    def __init__(self, req, subject, year, semester, project):
212
214
        self.context = req.store.find(Project,