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

Last change on this file since 17877 was 3808, checked in by Henrik Bettermann, 16 years ago

see ticket #1 WAeUPSchools

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              house_staff info/doc/house_staff|nothing;
6              ">
7    <span tal:condition="not: info">
8      <span tal:content="here/illegal_view" />
9    </span>
10    <span tal:condition="info" tal:omit-tag="">
11      <span tal:condition="not:info/is_anonymous" tal:omit-tag="">
12
13    <div style="text-align: right"
14         tal:condition="python:True">
15    <a href="" target="slip" tal:attributes="href string:pastoral_report_slip"
16        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')">
17        <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
18        Pastoral Report Slip
19    </a>
20    </div>
21     
22        <span tal:define="breadcrumbs context/getBreadCrumbs|nothing">
23          <a tal:condition="not: breadcrumbs" href=""
24             tal:attributes="href string:${here/aq_parent/absolute_url}">
25            <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
26            Up one level
27          </a>
28          <div tal:condition="breadcrumbs">
29            <span tal:repeat="crumb breadcrumbs"><a href="crumb"
30                                                    tal:attributes="href crumb/url"
31                                                    tal:content="crumb/title"></a>
32              <span tal:condition="not: repeat/crumb/end">&gt;</span>
33            </span>
34          </div>
35        </span>     
36      </span>     
37      <h3 tal:define="is_so info/is_sectionofficer;">
38        <span tal:condition="python:is_so and s_name">
39          <span tal:content="s_name" />:
40        </span>
41        Pastoral Report
42      </h3>
43      <br />
44     
45         
46      <table>
47        <tr>
48          <th>Session:</th>
49          <td><span tal:content="info/session" /></td>
50        </tr>
51        <tr>
52          <th>Year:</th>
53          <td><span tal:content="info/level" /></td>
54        </tr>     
55        <tr>
56          <th>Term:</th>
57          <td><span tal:content="info/term" /></td>
58        </tr>         
59        <tr>
60          <th>House Staff:</th>
61          <td><span tal:content="house_staff" /></td>
62        </tr>               
63      </table>           
64     
65      <br />
66     
67      <span tal:omit-tag="" 
68            tal:content="structure python: info['doc'].render(layout_mode='view')" />
69    </span>     
70  </metal:main>
71  <metal:sub fill-slot="sub"/>
72</metal:body>
73
Note: See TracBrowser for help on using the repository browser.