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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/enrolment-edit.html

  • Committer: Matt Giuca
  • Date: 2010-07-22 02:12:36 UTC
  • mfrom: (1812.1.13 late-submit)
  • Revision ID: matt.giuca@gmail.com-20100722021236-k8kt4cqdtywzpk24
Merge from trunk late-submit.
Students may now submit projects after the deadline, but they are warned that the submission is late.
Lecturers are now given data on which submissions were made late, and how many days.
(LP: #598346)

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>Edit ${context.user.fullname}'s enrolment in ${context.offering.subject.name}</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>Edit ${context.user.fullname}'s enrolment in ${context.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">${context.user.fullname}</span></div>
 
11
        <div><label for="field_login">Login:</label> <span id="field_login">${context.user.login}</span></div>
 
12
        <div>
 
13
          <label for="field_role">Role:</label>
 
14
          <select id="field_role" name="role">
 
15
            <option py:if="'enrol_student' in offering_perms" value="student">Student</option>
 
16
            <option py:if="'enrol_tutor' in offering_perms" value="tutor">Tutor</option>
 
17
            <option py:if="'enrol_lecturer' in offering_perms" value="lecturer">Lecturer</option>
 
18
          </select>
 
19
          <span py:if="'role' in errors" class="form_error">${errors.role}.</span>
 
20
        </div>
 
21
        <div class="submit"><input type="submit" value="Change Role"/></div>
 
22
      </form>
 
23
    </div>
 
24
  </body>
 
25
</html>