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

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

Show LonTitle? of faculty and department.

File size: 2.1 KB
RevLine 
[1737]1<metal:body use-macro="here/slip_template/macros/master">
[1575]2    <metal:main fill-slot="main"
[3727]3                 tal:define="info context/getClearanceInfo;
4                             titles here/getStudentObjectTitles;">
[837]5      <span tal:condition="not: info">
[1096]6        <span tal:content="here/illegal_view" />
[837]7      </span>
[1737]8      <span tal:omit-tag=""  tal:condition="info">
[1144]9      <div style="text-align: right" tal:condition="info/penalty">
10      <strong>Late Clearance!</strong></div>
[837]11           
[3727]12        <h3><span tal:content="titles/StudentClearance" /> Slip</h3>
[5134]13        <br />
[837]14        <span tal:omit-tag=""
15              tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
16              layout_mode='view_info',
[2579]17              layout_id='student_application')"
[837]18              />       
[1044]19             
[3452]20        <table tal:define="sc python: info['course_doc'];
21               f_id sc/faculty;
22               d_id sc/department;
23               sc_id sc/course;
[8277]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;
[3452]26               sc_title context/academics/?f_id/?d_id/certificates/?sc_id/Title|string:Course not in Prospectus"
27               >
[1044]28        <tr>
29          <td width="180px">Certificate:</td>
[3452]30          <td><span tal:content="sc_title" /></td>
[1044]31        </tr>
32        <tr>
33          <td>Certificate ID:</td>
[3452]34          <td tal:content="sc/course" />
[1044]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>                 
[837]45        <span tal:omit-tag=""
46              tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
[5133]47              layout_mode='view_slip',
[837]48              layout_id='student_clearance_fe')"
49              />
[5133]50           
[1040]51             
[837]52      </span>
53    </metal:main>
[1575]54</metal:body>
Note: See TracBrowser for help on using the repository browser.