source: WAeUP_SRP/trunk/skins/waeup_student/statistics_ret_view.pt @ 1492

Last change on this file since 1492 was 1292, checked in by Henrik Bettermann, 18 years ago

Page templates slimmed down
bug in reserve_accommodation fixed

File size: 1.3 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main">
3  <metal:block tal:define="departments context/getRetStudentStatistics;
4                        mtool here/portal_membership;
5                        member mtool/getAuthenticatedMember;">       
6
7      <span tal:condition="not: departments">
8        <span tal:content="here/illegal_view" />
9      </span>
10      <span tal:condition="departments">
11 
12      <a href="search_students"><strong>Search Students</strong></a>
13      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
14      <a href="statistics_new_view"><strong>New Student Statistics</strong></a>
15      <h3>Returning Student Statistics</h3>
16      <br />     
17      <span tal:condition="not:isAnon">
18        <table>
19          <tr class="odd ajaxtd">
20            <th >Faculty</th>
21            <th align="right">Returning</th>
22          </tr>
23          <tr tal:repeat="d departments"
24              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
25              <td width="80px"> <span tal:content="d/id" /> </td>
26              <td width="80px" align="right">
27                <span tal:content="d/returned " />
28              </td>             
29          </tr>
30        </table>
31        <br />
32      </span>
33      </span>
34  </metal:block>     
35  </metal:main>
36</metal:body>
37     
Note: See TracBrowser for help on using the repository browser.