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

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

new local roles implemented
role SectionOfficer? not yet tested

  • Property svn:keywords set to Id
File size: 4.2 KB
Line 
1<!--  clearance_edit_lib -->
2<!-- $Id: clearance_edit_lib.pt 911 2006-11-20 15:11:29Z henrik $ -->
3<!--  header -->
4<metal:block define-macro="header">
5  <!--  Administration -->
6  <tal:block condition="python: not(is_staff or is_sm 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  <!-- SectionManager -->
32  <tal:block condition="context/isSectionManager">
33 
34     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
35        <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
36
37        I hereby acknowledge by ticking this check box
38        that, if it is discovered at any time that I do not possess any of the
39        qualifications which I claim to have obtained, I will be expelled from the
40        University and shall not be re-admitted for the same or any other programme,
41        even if I have upgraded my previous qualifications or possess additional
42        qualifications.   
43    </div>
44    <br />
45 
46    <input type="submit" class="standalone"
47           name="cpsdocument_edit_button"
48           value="Save & Return Later"
49           id="cpsdocument_edit_button" />
50    <input type="submit" class="standalone"
51           name="cpsdocument_edit_and_view_button"
52           value="Save & Submit"
53           id="cpsdocument_edit_and_view_button"
54           tal:condition="python: review_state == 'clearance_pin_entered'" />
55    <input type="submit" class="standalone"
56           name="clear_and_validate_button"
57           value="Validate & Clear"
58           id="clear_and_validate_button"
59           tal:condition="python:review_state == 'clearance_requested'" />
60    <input type="submit" class="standalone"
61           name="reject_clearance_button"
62           value="Reject Clearance"
63           id="reject_clearance_button"
64           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
65  </tal:block>
66  <!--  ClearanceOfficer -->
67  <tal:block condition="is_co">
68    <input type="submit" class="standalone"
69           name="clear_and_validate_button"
70           value="Validate & Clear"
71           id="clear_and_validate_button"
72           tal:condition="python:review_state == 'clearance_requested'" />
73    <input type="submit" class="standalone"
74           name="reject_clearance_button"
75           value="Reject Clearance"
76           id="reject_clearance_button"
77           tal:condition="python:review_state in ('cleared_and_validated','clearance_requested',)" />
78  </tal:block>
79  <!--  Student -->
80  <tal:block condition="is_student">
81 
82     <div tal:condition="python:info['review_state'] == 'clearance_pin_entered'">
83        <input type="checkbox" value="True" name="acknowledge" />     &nbsp;&nbsp; 
84
85        I hereby acknowledge by ticking this check box
86        that, if it is discovered at any time that I do not possess any of the
87        qualifications which I claim to have obtained, I will be expelled from the
88        University and shall not be re-admitted for the same or any other programme,
89        even if I have upgraded my previous qualifications or possess additional
90        qualifications.   
91    </div>
92    <br />
93 
94 
95    <input type="submit" class="standalone"
96           name="cpsdocument_edit_button"
97           value="Save & Return Later"
98           id="cpsdocument_edit_button"
99           tal:condition="python: review_state == 'clearance_pin_entered'" />
100    <input type="submit" class="standalone"
101           name="cpsdocument_edit_and_view_button"
102           value="Save & Submit"
103           id="cpsdocument_edit_and_view_button"
104           tal:condition="python: review_state == 'clearance_pin_entered'" />
105  </tal:block>
106</metal:block>
Note: See TracBrowser for help on using the repository browser.