source: WAeUP_SRP/trunk/skins/waeup_ois/clearance_slip.pt @ 16153

Last change on this file since 16153 was 8329, checked in by Henrik Bettermann, 13 years ago

Use LongTitle? of faculty and department.

File size: 2.4 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/LongTitle|string:Faculty not yet in Prospectus;
25               d_title context/academics/?f_id/?d_id/LongTitle|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        </table>                 
33             
34        <span tal:omit-tag=""
35              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
36              layout_mode='view',
37              layout_id='student_clearance_fe')"
38              />
39        <span tal:condition="not:context/isStudent">   
40              <br /><br />
41              <table  width=100%>
42              <tr >
43              <td width=50%>Date:</td><td>Date:</td>
44              </tr>
45              </table>
46             
47              <br /><br /><br /><br />
48              <table  width=100%>
49              <tr >
50              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black"> Student</td>
51              <td width=50% style="border-top-style:solid; border-top-width:1px; border-top-color:black">Clearance Officer</td>
52              </tr>
53              </table>
54         </span>             
55             
56      </span>
57    </metal:main>
58</metal:body>
Note: See TracBrowser for help on using the repository browser.