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

« back to all changes in this revision

Viewing changes to ivle/webapp/submit/submit.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:
27
27
          <form action="" method="post">
28
28
            <table>
29
29
              <tr py:for="project in principal.get_projects(offering=offering)"
30
 
                  py:with="attrs = {'disabled': 'disabled'} if project.has_deadline_passed(req.user) else {}"
31
30
                  py:attrs="{'class': 'project closed'} if project.has_deadline_passed(req.user) else {'class': 'project'}">
32
31
                <td style="vertical-align: top">
33
 
                  <input type="radio" name="project" id="project_${project.id}" value="${project.id}" py:attrs="attrs" />
 
32
                  <input type="radio" name="project" id="project_${project.id}" value="${project.id}" />
34
33
                </td>
35
34
                <td>
36
35
                  <label for="project_${project.id}">
60
59
                    </py:if>
61
60
                    <br />
62
61
                    ${project.synopsis}
 
62
                    <py:if test="project.has_deadline_passed(req.user)"><br />
 
63
                      <em>Note: The deadline has passed. You may still submit late, but a penalty may be incurred.</em>
 
64
                    </py:if>
63
65
                  </label>
64
66
                </td>
65
67
              </tr>
66
68
            </table>
67
69
            <p>Ensure that you have committed all changes - only changes in the repository will be submitted.</p>
68
 
            <p>You may resubmit a project again at any time until its deadline, but a new submission will overwrite any made earlier.</p>
 
70
            <p>You may resubmit a project again at any time, but a new submission will overwrite any made earlier, and submissions after the deadline may incur a penalty.</p>
69
71
            <p><input type="submit" value="Submit Project" />
70
72
              <a class="helpaction" href="/+help/Submitting%20a%20project">Help submitting a project</a>
71
73
            </p>