1 | <!-- clearance_edit_lib --> |
---|
2 | <!-- $Id: clearance_edit_lib.pt 895 2006-11-19 10:54:34Z henrik $ --> |
---|
3 | <!-- header --> |
---|
4 | <metal:block define-macro="header"> |
---|
5 | <!-- Administration --> |
---|
6 | <tal:block condition="python: not(isStaff or isManager or isStudent)"> |
---|
7 | <metal:block use-macro="here/error_not_found/macros/not_found" /> |
---|
8 | </tal:block> |
---|
9 | <tal:block condition="python: isStaff or isManager"> |
---|
10 | <a href="" tal:condition="python: 0" |
---|
11 | tal:attributes="href string:${here/academicsParent}"> |
---|
12 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
13 | Up one level |
---|
14 | </a> |
---|
15 | <h3> |
---|
16 | <span tal:condition="info"> |
---|
17 | <span tal:content="info/student/Title" />: |
---|
18 | </span> |
---|
19 | <span tal:content="here/title_or_id" /> |
---|
20 | </h3> |
---|
21 | <br /> |
---|
22 | </tal:block> |
---|
23 | <!-- Student --> |
---|
24 | <tal:block condition="python: isStudent"> |
---|
25 | <a href="" |
---|
26 | tal:attributes="href string:${here/academicsParent}"> |
---|
27 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
28 | Up one level |
---|
29 | </a> |
---|
30 | <h3>Fill Your Clearance/Eligibility Form!</h3> |
---|
31 | <br /> |
---|
32 | </tal:block> |
---|
33 | </metal:block> |
---|
34 | <!-- buttons --> |
---|
35 | <metal:block define-macro="buttons"> |
---|
36 | <!-- isManager --> |
---|
37 | <tal:block condition="context/isManager"> |
---|
38 | |
---|
39 | <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> |
---|
40 | <input type="checkbox" value="True" name="acknowledge" /> |
---|
41 | |
---|
42 | I hereby acknowledge by ticking this check box |
---|
43 | that, if it is discovered at any time that I do not possess any of the |
---|
44 | qualifications which I claim to have obtained, I will be expelled from the |
---|
45 | University and shall not be re-admitted for the same or any other programme, |
---|
46 | even if I have upgraded my previous qualifications or possess additional |
---|
47 | qualifications. |
---|
48 | </div> |
---|
49 | <br /> |
---|
50 | |
---|
51 | <input type="submit" class="standalone" |
---|
52 | name="cpsdocument_edit_button" |
---|
53 | value="Save & Return Later" |
---|
54 | id="cpsdocument_edit_button" /> |
---|
55 | <input type="submit" class="standalone" |
---|
56 | name="cpsdocument_edit_and_view_button" |
---|
57 | value="Save & Submit" |
---|
58 | id="cpsdocument_edit_and_view_button" |
---|
59 | tal:condition="python: review_state == 'clearance_pin_entered'" /> |
---|
60 | <input type="submit" class="standalone" |
---|
61 | name="clear_and_validate_button" |
---|
62 | value="Validate & Clear" |
---|
63 | id="clear_and_validate_button" |
---|
64 | tal:condition="python:review_state == 'clearance_requested'" /> |
---|
65 | <input type="submit" class="standalone" |
---|
66 | name="reject_clearance_button" |
---|
67 | value="Reject Clearance" |
---|
68 | id="reject_clearance_button" |
---|
69 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
70 | </tal:block> |
---|
71 | <!-- isClearanceOfficer --> |
---|
72 | <tal:block condition="context/isClearanceOfficer"> |
---|
73 | <input type="submit" class="standalone" |
---|
74 | name="clear_and_validate_button" |
---|
75 | value="Validate & Clear" |
---|
76 | id="clear_and_validate_button" |
---|
77 | tal:condition="python:review_state == 'clearance_requested'" /> |
---|
78 | <input type="submit" class="standalone" |
---|
79 | name="reject_clearance_button" |
---|
80 | value="Reject Clearance" |
---|
81 | id="reject_clearance_button" |
---|
82 | tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" /> |
---|
83 | </tal:block> |
---|
84 | <!-- isStudent --> |
---|
85 | <tal:block condition="context/isStudent"> |
---|
86 | |
---|
87 | <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'"> |
---|
88 | <input type="checkbox" value="True" name="acknowledge" /> |
---|
89 | |
---|
90 | I hereby acknowledge by ticking this check box |
---|
91 | that, if it is discovered at any time that I do not possess any of the |
---|
92 | qualifications which I claim to have obtained, I will be expelled from the |
---|
93 | University and shall not be re-admitted for the same or any other programme, |
---|
94 | even if I have upgraded my previous qualifications or possess additional |
---|
95 | qualifications. |
---|
96 | </div> |
---|
97 | <br /> |
---|
98 | |
---|
99 | |
---|
100 | <input type="submit" class="standalone" |
---|
101 | name="cpsdocument_edit_button" |
---|
102 | value="Save & Return Later" |
---|
103 | id="cpsdocument_edit_button" |
---|
104 | tal:condition="python: review_state == 'clearance_pin_entered'" /> |
---|
105 | <input type="submit" class="standalone" |
---|
106 | name="cpsdocument_edit_and_view_button" |
---|
107 | value="Save & Submit" |
---|
108 | id="cpsdocument_edit_and_view_button" |
---|
109 | tal:condition="python: review_state == 'clearance_pin_entered'" /> |
---|
110 | </tal:block> |
---|
111 | </metal:block> |
---|