source: WAeUP_SRP/branches/regebro-noskins/skins/waeup_student/clearance_slip.pt @ 4194

Last change on this file since 4194 was 1156, checked in by joachim, 18 years ago

clearance_slip now also uses getClearanceInfo, which has been extended.

File size: 2.5 KB
Line 
1<metal:html tal:define="info context/getClearanceInfo">
2  <metal:body use-macro="here/main_template/macros/master">
3    <metal:main fill-slot="main">
4      <span tal:condition="not: info">
5        <span tal:content="here/illegal_view" />
6      </span>
7      <span tal:condition="info">
8      <div style="text-align: right" tal:condition="info/penalty">
9      <strong>Late Clearance!</strong></div>
10           
11        <h3>Clearance/Eligibility Slip</h3>
12        <br />
13        <span tal:omit-tag=""
14              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
15              layout_mode='view_info',
16              layout_id='student_application_fe')"
17              />       
18             
19        <table tal:define="sc python: info['course_doc']">
20        <tr>
21          <td width="180px">Certificate:</td>
22          <td><span tal:content="sc/title" /></td>
23        </tr>
24        <tr>
25          <td>Certificate ID:</td>
26          <td tal:content="sc/study_course" />
27        </tr>
28        <span tal:define="f_id sc/faculty;
29                        d_id sc/department;
30                        f_title context/academics/?f_id/Title|string:Faculty not yet in Prospectus;
31                        d_title context/academics/?f_id/?d_id/Title|string:Department not yet in Prospectus"
32                        >
33            <tr>
34              <td>Faculty:</td>
35              <td tal:content="f_title" />
36            </tr>
37            <tr>
38              <td>Department:</td>
39              <td><span tal:content="d_title" /></td>
40            </tr>
41          </span>
42        </table>                 
43             
44        <span tal:omit-tag=""
45              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
46              layout_mode='view',
47              layout_id='student_clearance_fe')"
48              />
49        <span tal:condition="not:context/isStudent">   
50              <br /><br />
51              <table  width=100%>
52              <tr >
53              <td width=50%>Date:</td><td>Date:</td>
54              </tr>
55              </table>
56             
57              <br /><br /><br /><br />
58              <table  width=100%>
59              <tr >
60              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
61              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Clearance Officer</td>
62              </tr>
63              </table>
64         </span>             
65             
66      </span>
67    </metal:main>
68  </metal:body>
69</metal:html>
Note: See TracBrowser for help on using the repository browser.