source: WAeUP_SRP/base/skins/waeup_student/pastoral_report_view.pt @ 3709

Last change on this file since 3709 was 3682, checked in by Henrik Bettermann, 16 years ago
  • Implement Student Pastoral Report for secondary schools
File size: 2.0 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        <span tal:define="breadcrumbs context/getBreadCrumbs|nothing">
12          <a tal:condition="not: breadcrumbs" href=""
13             tal:attributes="href string:${here/aq_parent/absolute_url}">
14            <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/>
15            Up one level
16          </a>
17          <div tal:condition="breadcrumbs">
18            <span tal:repeat="crumb breadcrumbs"><a href="crumb"
19                                                    tal:attributes="href crumb/url"
20                                                    tal:content="crumb/title"></a>
21              <span tal:condition="not: repeat/crumb/end">&gt;</span>
22            </span>
23          </div>
24        </span>     
25      </span>     
26      <h3 tal:define="is_so info/is_sectionofficer;">
27        <span tal:condition="python:is_so and s_name">
28          <span tal:content="s_name" />:
29        </span>
30        Pastoral Report
31      </h3>
32      <br />
33     
34         
35      <table>
36        <tr>
37          <th>Session:</th>
38          <td><span tal:content="info/session" /></td>
39        </tr>
40        <tr>
41          <th>Year:</th>
42          <td><span tal:content="info/level" /></td>
43        </tr>     
44        <tr>
45          <th>Term:</th>
46          <td><span tal:content="info/term" /></td>
47        </tr>         
48      </table>           
49     
50      <br />
51     
52      <span tal:omit-tag="" 
53            tal:content="structure python: info['doc'].render(layout_mode='view')" />
54    </span>     
55  </metal:main>
56  <metal:sub fill-slot="sub"/>
57</metal:body>
58
Note: See TracBrowser for help on using the repository browser.