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

Last change on this file since 4199 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
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>
[837]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',
[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;
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               >
[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>                 
45             
[837]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              />
[1061]51        <span tal:condition="not:context/isStudent">   
[1040]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 />
[1069]60              <table  width=100%>
[1040]61              <tr >
[1069]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>
[1040]64              </tr>
[1061]65              </table>
66         </span>             
[1040]67             
[837]68      </span>
69    </metal:main>
[1575]70</metal:body>
Note: See TracBrowser for help on using the repository browser.