source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_student/clearance_edit_lib.pt @ 14312

Last change on this file since 14312 was 1105, checked in by Henrik Bettermann, 18 years ago

pop-up window before submission

  • Property svn:keywords set to Id
File size: 4.4 KB
Line 
1<!--  clearance_edit_lib -->
2<!-- $Id: clearance_edit_lib.pt 1105 2006-12-20 16:13:10Z henrik $ -->
3<!--  header -->
4<metal:block define-macro="header">
5  <!--  Administration -->
6  <tal:block condition="python: not(is_staff or is_so or is_student)">
7    <metal:block use-macro="here/error_not_found/macros/not_found" />
8  </tal:block>
9  <tal:block condition="is_staff">
10    <h3>
11      <span tal:condition="info">
12        <span tal:content="info/student/Title" />:
13      </span>
14      <span tal:content="here/title_or_id" />
15    </h3>
16    <br />   
17  </tal:block>
18  <!-- Student -->
19  <tal:block condition="python: is_student">
20    <a href=""
21       tal:attributes="href string:${here/academicsParent}">
22      <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
23      Up one level
24    </a>
25    <h3>Fill Your Clearance/Eligibility Form!</h3>
26    <br />   
27  </tal:block>
28</metal:block>
29<!--  buttons -->
30<metal:block define-macro="buttons">
31  <tal:block condition="is_so">
32  <!-- SectionOfficer -->
33    <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
34      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
35      I hereby acknowledge by ticking this check box
36      that, if it is discovered at any time that I do not possess any of the
37      qualifications which I claim to have obtained, I will be expelled from the
38      University and shall not be re-admitted for the same or any other programme,
39      even if I have upgraded my previous qualifications or possess additional
40      qualifications.   
41    </div>
42    <br />
43    <input type="submit" class="standalone"
44           name="cpsdocument_edit_button"
45           value="Save & Return Later"
46           id="cpsdocument_edit_button" />
47    <input type="submit" class="standalone"
48           name="cpsdocument_edit_and_view_button"
49           value="Save & Submit"
50           id="cpsdocument_edit_and_view_button"
51           tal:condition="python: review_state == 'clearance_pin_entered'" />
52    <input type="submit" class="standalone"
53           name="clear_and_validate_button"
54           value="Validate & Clear"
55           id="clear_and_validate_button"
56           tal:condition="python:review_state == 'clearance_requested'" />
57    <input type="submit" class="standalone"
58           name="reject_clearance_button"
59           value="Reject Clearance"
60           id="reject_clearance_button"
61           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
62  </tal:block>
63  <tal:block condition="is_co">
64  <!--  ClearanceOfficer -->
65    <input type="submit" class="standalone"
66           name="clear_and_validate_button"
67           value="Validate & Clear"
68           id="clear_and_validate_button"
69           tal:condition="python:review_state == 'clearance_requested'" />
70    <input type="submit" class="standalone"
71           name="reject_clearance_button"
72           value="Reject Clearance"
73           id="reject_clearance_button"
74           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
75  </tal:block>
76  <tal:block condition="is_student">
77  <!--  Student -->
78     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
79      <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
80      I hereby acknowledge by ticking this check box
81      that, if it is discovered at any time that I do not possess any of the
82      qualifications which I claim to have obtained, I will be expelled from the
83      University and shall not be re-admitted for the same or any other programme,
84      even if I have upgraded my previous qualifications or possess additional
85      qualifications.   
86    </div>
87    <br />
88    <input type="submit" class="standalone"
89           name="cpsdocument_edit_button"
90           value="Save & Return Later"
91           id="cpsdocument_edit_button"
92           tal:condition="python: review_state == 'clearance_pin_entered'" />
93    <input type="submit" class="standalone"
94           name="cpsdocument_edit_and_view_button"
95           value="Save & Submit"
96           id="cpsdocument_edit_and_view_button"
97           tal:condition="python: review_state == 'clearance_pin_entered'"
98           tal:attributes="onclick python:'return window.confirm(\'%s\')' %
99                       (cpsmcat('Are you sure? You will not be able to edit your data after submission.'), )"
100           />
101  </tal:block>
102</metal:block>
Note: See TracBrowser for help on using the repository browser.