~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-23 06:27:02 UTC
  • mfrom: (1818.1.1 project-extensions)
  • Revision ID: matt.giuca@gmail.com-20100723062702-cknq5zzk1cwf8q2q
Merge from branch project-extensions (changes project_extension.deadline into project_extension.days in the database).
The branch isn't finished; I just want this DB change to be included before we release 1.0.2, in case the rest of the changes for this branch don't make it.

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>