source: WAeUP_SRP/trunk/skins/waeup_ois/pastoral_report_view.pt @ 3804

Last change on this file since 3804 was 3804, checked in by Henrik Bettermann, 16 years ago
  • Uniben: add Clearance Officer name to clearance form
  • OIS: split academic reports, add house staff name to pastoral report, fix date
File size: 2.6 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="info context/getPastoralReportInfo;
4              s_name context/getStudentNameInContext;
5              ">
6    <span tal:condition="not: info">
7      <span tal:content="here/illegal_view" />
8    </span>
9    <span tal:condition="info" tal:omit-tag="">
10      <span tal:condition="not:info/is_anonymous" tal:omit-tag="">
11
12    <div style="text-align: right"
13         tal:condition="python:True">
14    <a href="" target="slip" tal:attributes="href string:pastoral_report_slip"
15        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')">
16        <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
17        Pastoral Report Slip
18    </a>
19    </div>
20     
21        <span tal:define="breadcrumbs context/getBreadCrumbs|nothing">
22          <a tal:condition="not: breadcrumbs" href=""
23             tal:attributes="href string:${here/aq_parent/absolute_url}">
24            <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
25            Up one level
26          </a>
27          <div tal:condition="breadcrumbs">
28            <span tal:repeat="crumb breadcrumbs"><a href="crumb"
29                                                    tal:attributes="href crumb/url"
30                                                    tal:content="crumb/title"></a>
31              <span tal:condition="not: repeat/crumb/end">&gt;</span>
32            </span>
33          </div>
34        </span>     
35      </span>     
36      <h3 tal:define="is_so info/is_sectionofficer;">
37        <span tal:condition="python:is_so and s_name">
38          <span tal:content="s_name" />:
39        </span>
40        Pastoral Report
41      </h3>
42      <br />
43     
44         
45      <table>
46        <tr>
47          <th>Session:</th>
48          <td><span tal:content="info/session" /></td>
49        </tr>
50        <tr>
51          <th>Year:</th>
52          <td><span tal:content="info/level" /></td>
53        </tr>     
54        <tr>
55          <th>Term:</th>
56          <td><span tal:content="info/term" /></td>
57        </tr>         
58        <tr>
59          <th>House Staff:</th>
60          <td><span tal:content="info/doc/house_staff" /></td>
61        </tr>               
62      </table>           
63     
64      <br />
65     
66      <span tal:omit-tag="" 
67            tal:content="structure python: info['doc'].render(layout_mode='view')" />
68    </span>     
69  </metal:main>
70  <metal:sub fill-slot="sub"/>
71</metal:body>
72
Note: See TracBrowser for help on using the repository browser.