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

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

Show LonTitle? of faculty and department.

File size: 2.1 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        <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        <span tal:omit-tag=""
46              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
47              layout_mode='view_slip',
48              layout_id='student_clearance_fe')"
49              />
50           
51             
52      </span>
53    </metal:main>
54</metal:body>
Note: See TracBrowser for help on using the repository browser.