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

Last change on this file since 1141 was 1096, checked in by Henrik Bettermann, 18 years ago

redirect to illegal_view.py

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