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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/enrolment-delete.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>Delete ${enrolment.user.fullname}'s enrolment in ${enrolment.offering.subject.name}</title>
5
 
  </head>
6
 
  <body>
7
 
    <h1>Delete ${enrolment.user.fullname}'s enrolment in ${enrolment.offering.subject.name}</h1>
8
 
    <div id="ivle_padding">
9
 
      <form action="" method="post" class="verticalform thin">
10
 
        <div><label for="field_fullname">Full name:</label> <span id="field_fullname">${enrolment.user.fullname}</span></div>
11
 
        <div><label for="field_login">Login:</label> <span id="field_login">${enrolment.user.login}</span></div>
12
 
        <div class="submit">Are you sure you want to delete this enrolment? The user will no longer have access to this offering.</div>
13
 
        <div class="submit"><input type="submit" value="Delete"/></div>
14
 
      </form>
15
 
    </div>
16
 
  </body>
17
 
</html>