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

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

FCEOkene: show both course_registration_slip and examination_slip

course_registration_slip.pt: schow 'validated by system' if no validated_by string

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      <div tal:condition="python: validated and cv_id">
20        <br />
21        - cleared by
22            <span tal:replace="cv_member" /> on <span tal:replace="python:info['doc'].validation_date.aCommon()" /> -
23        <br />
24      </div>
25      <div tal:condition="not: validated">
26        <br />
27        - not yet cleared -
28        <br />
29      </div>
30      <div tal:condition="python: validated and not cv_id">
31        <br />
32        - cleared by system -
33        <br />
34      </div>     
35      <span tal:condition="validated"
36            tal:omit-tag=""
37            tal:content="structure python: info['app_doc'].render(proxy=info['app_doc'],
38            layout_mode='view_info',
39            layout_id='student_application')"
40            />           
41      <table  tal:condition="validated" cellpadding="2" cellspacing="0">
42        <tr>
43          <td valign="top" width="180px"><span class="dlabel">Faculty Id</span>:
44          </td>
45          <td>
46            <span tal:content="info/student/faculty" />
47          </td>     
48        </tr>
49        <tr>
50          <td valign="top"><span class="dlabel">Department Id</span>:
51          </td>
52          <td>
53            <span tal:content="info/student/department" />
54          </td>     
55        </tr>
56        <tr>
57          <td valign="top"><span class="dlabel">Study Course Id</span>:
58          </td>
59          <td>
60            <span tal:content="info/student/course" />
61          </td>     
62        </tr>
63      </table>
64
65    </span>             
66    </span>             
67  </metal:main>
68</metal:body>
69 
Note: See TracBrowser for help on using the repository browser.