source: WAeUP_SRP/trunk/skins/waeup_fceokene/examination_slip.pt @ 6698

Last change on this file since 6698 was 5570, checked in by Henrik Bettermann, 14 years ago

Adjust layout.

File size: 2.3 KB
Line 
1  <metal:body use-macro="here/slip_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="info context/getStudyLevelInfo;"
4              >
5    <span tal:condition="not: info">
6      <span tal:content="here/illegal_view" />
7    </span>
8    <span tal:condition="info" tal:omit-tag="">
9      <span tal:omit-tag=""
10          tal:define="is_so info/is_so;
11          is_ca info/is_ca;
12          show_check_boxes info/show_check_boxes;
13          is_student info/is_student;
14          validated info/validated;
15          cv_id info/doc/validated_by|nothing;
16          cv_member python:context.waeup_tool.getOfficerName(cv_id);
17          ">
18      <h3><span tal:content="info/level_str" /> Examination Clearance Slip</h3>
19      <br />
20      <div tal:condition="python: validated and cv_id">
21        - cleared by
22            <span tal:replace="cv_member" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" /> -
23      </div>
24      <div tal:condition="not: validated">
25        - not yet cleared -
26      </div>
27      <div tal:condition="python: validated and not cv_id">
28        - cleared by system -
29      </div>     
30      <br />
31      <span tal:condition="validated"
32            tal:omit-tag=""
33            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
34            layout_mode='view_info',
35            layout_id='student_application')"
36            />           
37      <table  tal:condition="validated" cellpadding="2" cellspacing="0">
38        <tr>
39          <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>:
40          </td>
41          <td>
42            <span tal:content="info/student/faculty" />
43          </td>     
44        </tr>
45        <tr>
46          <td valign="top"><span class="dlabel">Department Id</span>:
47          </td>
48          <td>
49            <span tal:content="info/student/department" />
50          </td>     
51        </tr>
52        <tr>
53          <td valign="top"><span class="dlabel">Study Course Id</span>:
54          </td>
55          <td>
56            <span tal:content="info/student/course" />
57          </td>     
58        </tr>
59      </table>
60
61    </span>             
62    </span>             
63  </metal:main>
64</metal:body>
65 
Note: See TracBrowser for help on using the repository browser.