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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/submitted.html

Add an XHTMLUnauthorizedView which redirects unauthenticated users to the
login page if a page raises an Unauthorized. Alter UserSettingsView to raise
one in the right cases, for testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html xmlns="http://www.w3.org/1999/xhtml"
2
 
      xmlns:py="http://genshi.edgewall.org/">
3
 
  <head>
4
 
    <title>Project submitted</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Project submitted</h1>
8
 
    <div id="ivle_padding">
9
 
      <p>You successfully submitted ${project.name} for ${offering.subject.name}.</p>
10
 
      <p>You may resubmit this project again at any time, but a new submission
11
 
      will overwrite any made earlier, and submissions after the deadline may
12
 
      incur a penalty.
13
 
      It is important to verify each submission after you make it.</p>
14
 
      <p><a class="verifyaction"
15
 
          href="${submission.get_verify_url(req.user)}">Verify this submission</a></p>
16
 
      <p>You can verify this submission at any time from the <a href="${req.publisher.generate(offering)}">subject page</a>.</p>
17
 
    </div>
18
 
  </body>
19
 
</html>