1 | <!-- clearance_edit_lib --> |
---|
2 | <!-- $Id: clearance_edit_lib.pt 1737 2007-05-04 19:38:23Z henrik $ --> |
---|
3 | |
---|
4 | <!-- buttons --> |
---|
5 | <metal:block define-macro="buttons"> |
---|
6 | <tal:block condition="is_so"> |
---|
7 | <!-- SectionOfficer --> |
---|
8 | <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> |
---|
9 | <input type="checkbox" value="True" name="acknowledge" /> |
---|
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 |
---|
13 | University and shall not be re-admitted for the same or any other programme, |
---|
14 | even if I have upgraded my previous qualifications or possess additional |
---|
15 | qualifications. |
---|
16 | </div> |
---|
17 | <br /> |
---|
18 | <input type="submit" class="standalone" |
---|
19 | name="cpsdocument_edit_button" |
---|
20 | value="Save & Return Later" |
---|
21 | id="cpsdocument_edit_button" /> |
---|
22 | <input type="submit" class="standalone" |
---|
23 | name="cpsdocument_edit_and_view_button" |
---|
24 | value="Save & Submit" |
---|
25 | id="cpsdocument_edit_and_view_button" |
---|
26 | tal:condition="python: review_state == 'clearance_pin_entered'" /> |
---|
27 | <input type="submit" class="standalone" |
---|
28 | name="clear_and_validate_button" |
---|
29 | value="Validate & Clear" |
---|
30 | id="clear_and_validate_button" |
---|
31 | tal:condition="python:review_state == 'clearance_requested'" /> |
---|
32 | <input type="submit" class="standalone" |
---|
33 | name="reject_clearance_button" |
---|
34 | value="Reject Clearance" |
---|
35 | id="reject_clearance_button" |
---|
36 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
37 | </tal:block> |
---|
38 | <tal:block condition="is_co"> |
---|
39 | <!-- ClearanceOfficer --> |
---|
40 | <input type="submit" class="standalone" |
---|
41 | name="clear_and_validate_button" |
---|
42 | value="Validate & Clear" |
---|
43 | id="clear_and_validate_button" |
---|
44 | tal:condition="python:review_state == 'clearance_requested'" /> |
---|
45 | <input type="submit" class="standalone" |
---|
46 | name="reject_clearance_button" |
---|
47 | value="Reject Clearance" |
---|
48 | id="reject_clearance_button" |
---|
49 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
50 | </tal:block> |
---|
51 | <tal:block condition="is_student"> |
---|
52 | <!-- Student --> |
---|
53 | <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> |
---|
54 | <input type="checkbox" value="True" name="acknowledge" /> |
---|
55 | I hereby acknowledge by ticking this check box |
---|
56 | that, if it is discovered at any time that I do not possess any of the |
---|
57 | qualifications which I claim to have obtained, I will be expelled from the |
---|
58 | University and shall not be re-admitted for the same or any other programme, |
---|
59 | even if I have upgraded my previous qualifications or possess additional |
---|
60 | qualifications. |
---|
61 | </div> |
---|
62 | <br /> |
---|
63 | <input type="submit" class="standalone" |
---|
64 | name="cpsdocument_edit_button" |
---|
65 | value="Save & Return Later" |
---|
66 | id="cpsdocument_edit_button" |
---|
67 | tal:condition="python: review_state == 'clearance_pin_entered'" /> |
---|
68 | <input type="submit" class="standalone" |
---|
69 | name="cpsdocument_edit_and_view_button" |
---|
70 | value="Save & Submit" |
---|
71 | id="cpsdocument_edit_and_view_button" |
---|
72 | tal:condition="python: review_state == 'clearance_pin_entered'" |
---|
73 | tal:attributes="onclick python:'return window.confirm(\'%s\')' % |
---|
74 | (cpsmcat('Are you sure? You will not be able to edit your data after submission.'), )" |
---|
75 | /> |
---|
76 | </tal:block> |
---|
77 | </metal:block> |
---|