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

Last change on this file since 3705 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
Line 
1<metal:body use-macro="here/slip_template/macros/master">
2    <metal:main fill-slot="main"
3                 tal:define="info context/getClearanceInfo">
4      <span tal:condition="not: info">
5        <span tal:content="here/illegal_view" />
6      </span>
7      <span tal:omit-tag=""  tal:condition="info">
8      <div style="text-align: right" tal:condition="info/penalty">
9      <strong>Late Clearance!</strong></div>
10           
11        <h3>Clearance/Eligibility Slip</h3>
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',
16              layout_id='student_application')"
17              />       
18             
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               >
27        <tr>
28          <td width="180px">Certificate:</td>
29          <td><span tal:content="sc_title" /></td>
30        </tr>
31        <tr>
32          <td>Certificate ID:</td>
33          <td tal:content="sc/course" />
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             
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              />
50        <span tal:condition="not:context/isStudent">   
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 />
59              <table  width=100%>
60              <tr >
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>
63              </tr>
64              </table>
65         </span>             
66             
67      </span>
68    </metal:main>
69</metal:body>
Note: See TracBrowser for help on using the repository browser.