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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/__init__.py

  • Committer: Matt Giuca
  • Date: 2010-02-11 09:24:34 UTC
  • Revision ID: matt.giuca@gmail.com-20100211092434-1z7rvo2p80ok2hox
Made the submitted page friendlier. It explains the submission process, how to re-submit, how to verify, and provides links to verify and the subject page.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
                raise BadRequest('Specified project does not exist.')
97
97
 
98
98
            try:
99
 
                project.submit(self.context, unicode(self.path), revision,
100
 
                               req.user)
 
99
                ctx['submission'] = project.submit(self.context,
 
100
                                    unicode(self.path), revision, req.user)
101
101
            except database.DeadlinePassed, e:
102
102
                raise BadRequest(str(e) + ".")
103
103