source: WAeUP_SRP/trunk/skins/waeup_student/clearance_edit_lib.pt @ 12302

Last change on this file since 12302 was 3010, checked in by Henrik Bettermann, 17 years ago

customize clearance form and layout

  • Property svn:keywords set to Id
File size: 3.7 KB
RevLine 
[885]1<!--  clearance_edit_lib -->
2<!-- $Id: clearance_edit_lib.pt 3010 2008-01-11 10:48:02Z henrik $ -->
[1737]3
[885]4<!--  buttons -->
5<metal:block define-macro="buttons">
[1078]6  <tal:block condition="is_so">
[937]7  <!-- SectionOfficer -->
[1078]8    <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
9      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
10      I hereby acknowledge by ticking this check box
11      that, if it is discovered at any time that I do not possess any of the
12      qualifications which I claim to have obtained, I will be expelled from the
[3008]13      <span tal:replace="here/portal_properties/institution_title" />
14      and shall not be re-admitted for the same or any other programme,
[1078]15      even if I have upgraded my previous qualifications or possess additional
16      qualifications.   
[895]17    </div>
18    <br />
[885]19    <input type="submit" class="standalone"
20           name="cpsdocument_edit_button"
21           value="Save & Return Later"
[895]22           id="cpsdocument_edit_button" />
[885]23    <input type="submit" class="standalone"
24           name="cpsdocument_edit_and_view_button"
25           value="Save & Submit"
26           id="cpsdocument_edit_and_view_button"
27           tal:condition="python: review_state == 'clearance_pin_entered'" />
28    <input type="submit" class="standalone"
29           name="clear_and_validate_button"
30           value="Validate & Clear"
31           id="clear_and_validate_button"
32           tal:condition="python:review_state == 'clearance_requested'" />
33    <input type="submit" class="standalone"
34           name="reject_clearance_button"
35           value="Reject Clearance"
36           id="reject_clearance_button"
[888]37           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
[885]38  </tal:block>
[1078]39  <tal:block condition="is_co">
[911]40  <!--  ClearanceOfficer -->
[885]41    <input type="submit" class="standalone"
42           name="clear_and_validate_button"
43           value="Validate & Clear"
44           id="clear_and_validate_button"
45           tal:condition="python:review_state == 'clearance_requested'" />
46    <input type="submit" class="standalone"
47           name="reject_clearance_button"
48           value="Reject Clearance"
49           id="reject_clearance_button"
[891]50           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
[885]51  </tal:block>
[1078]52  <tal:block condition="is_student">
[911]53  <!--  Student -->
[893]54     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
[1078]55      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
56      I hereby acknowledge by ticking this check box
57      that, if it is discovered at any time that I do not possess any of the
58      qualifications which I claim to have obtained, I will be expelled from the
[3010]59      <span tal:replace="here/portal_properties/institution_title" />
60      and shall not be re-admitted for the same or any other programme,
[1078]61      even if I have upgraded my previous qualifications or possess additional
62      qualifications.   
[893]63    </div>
64    <br />
[885]65    <input type="submit" class="standalone"
66           name="cpsdocument_edit_button"
67           value="Save & Return Later"
68           id="cpsdocument_edit_button"
69           tal:condition="python: review_state == 'clearance_pin_entered'" />
70    <input type="submit" class="standalone"
71           name="cpsdocument_edit_and_view_button"
72           value="Save & Submit"
73           id="cpsdocument_edit_and_view_button"
[1105]74           tal:condition="python: review_state == 'clearance_pin_entered'"
75           tal:attributes="onclick python:'return window.confirm(\'%s\')' %
76                       (cpsmcat('Are you sure? You will not be able to edit your data after submission.'), )"
77           />
[885]78  </tal:block>
79</metal:block>
Note: See TracBrowser for help on using the repository browser.