source: WAeUP_SRP/trunk/skins/waeup_student/clearance_slip.pt @ 4062

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