1 | <!-- clearance_edit_lib --> |
---|
2 | <!-- $Id: clearance_edit_lib.pt 3010 2008-01-11 10:48:02Z 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 | <span tal:replace="here/portal_properties/institution_title" /> |
---|
14 | and shall not be re-admitted for the same or any other programme, |
---|
15 | even if I have upgraded my previous qualifications or possess additional |
---|
16 | qualifications. |
---|
17 | </div> |
---|
18 | <br /> |
---|
19 | <input type="submit" class="standalone" |
---|
20 | name="cpsdocument_edit_button" |
---|
21 | value="Save & Return Later" |
---|
22 | id="cpsdocument_edit_button" /> |
---|
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" |
---|
37 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
38 | </tal:block> |
---|
39 | <tal:block condition="is_co"> |
---|
40 | <!-- ClearanceOfficer --> |
---|
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" |
---|
50 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
51 | </tal:block> |
---|
52 | <tal:block condition="is_student"> |
---|
53 | <!-- Student --> |
---|
54 | <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> |
---|
55 | <input type="checkbox" value="True" name="acknowledge" /> |
---|
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 |
---|
59 | <span tal:replace="here/portal_properties/institution_title" /> |
---|
60 | and shall not be re-admitted for the same or any other programme, |
---|
61 | even if I have upgraded my previous qualifications or possess additional |
---|
62 | qualifications. |
---|
63 | </div> |
---|
64 | <br /> |
---|
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" |
---|
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 | /> |
---|
78 | </tal:block> |
---|
79 | </metal:block> |
---|