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

« back to all changes in this revision

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

Improve ProjectView's template substantially.

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
from ivle.database import Subject, Semester, Offering, Enrolment, User,\
40
40
                          ProjectSet, Project, ProjectSubmission
41
41
from ivle import util
 
42
import ivle.date
42
43
 
43
44
from ivle.webapp.admin.projectservice import ProjectSetRESTView,\
44
45
                                             ProjectRESTView
219
220
            raise NotFound()
220
221
 
221
222
    def populate(self, req, ctx):
 
223
        ctx['format_datetime_short'] = ivle.date.format_datetime_for_paragraph
 
224
 
222
225
        ctx['project'] = self.context
223
226
        ctx['assesseds'] = self.context.assesseds
224
227