source: WAeUP_SRP/trunk/skins/waeup_student/clearance_view.pt @ 14309

Last change on this file since 14309 was 3727, checked in by Henrik Bettermann, 16 years ago
  • more customizations for OIS
  • fetch all student object titles from getStudentObjectTitles.py
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="info context/getClearanceInfo;
4                          titles here/getStudentObjectTitles;">
5    <span tal:condition="not: info">
6      <span tal:content="here/illegal_view" />
7    </span>
8    <span tal:condition="info" tal:define="is_so info/is_sectionofficer|nothing;
9    is_student info/is_student|nothing;"
10    >
11      <div style="text-align: right">
12        <a href="" target="slip" tal:attributes="href string:clearance_slip"
13           onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
14          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
15          <span tal:content="titles/StudentClearance" /> Slip
16        </a>
17      </div>
18     
19      <a href=""
20         tal:attributes="href string:${here/academicsParent}">
21        <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
22        Up one level
23      </a>       
24     
25      <h3>
26        <span tal:condition="python:is_so and info">
27          <span tal:content="info/student_name" />:
28        </span>
29        <span tal:condition="python:is_student">
30          My
31        </span>
32        <span tal:content="titles/StudentClearance" />
33      </h3>       
34     
35      <br />
36      <span tal:omit-tag=""
37            tal:content="structure python: info['clear_doc'].render(proxy=info['clear_doc'],
38            layout_mode='view',
39            layout_id='student_clearance_fe')"
40            />
41    </span>
42  </metal:main>
43</metal:body>
Note: See TracBrowser for help on using the repository browser.