source: WAeUP_SRP/base/skins/waeup_student/clearance_slip.pt @ 3514

Last change on this file since 3514 was 3452, checked in by joachim, 17 years ago

sanitize getClearanceInfo and clearance_edit,
adopt views,
infopenalty? is now set to False.

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