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

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

fixed

File size: 1.9 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      <strong>
13      <nobr><a href="statistics_new_view">New Student Statistics</a>
14      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
15      <nobr><a href="statistics_ret_view">Returning Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
17      <nobr><a href="statistics_reg_view">Registration Statistics</a>
18      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
19      <nobr><a href="list_students">Cleared Student Export</a>
20      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
21      </strong>
22
23   
24      <h3>Returning Student Statistics</h3>
25      <br />     
26      <span tal:condition="not:isAnon">
27        <table>
28          <tr class="odd ajaxtd">
29            <th >Faculty</th>
30            <th align="right">Returning</th>
31          </tr>
32          <tr tal:define="d python:departments[0]"
33              class="even ajaxtd">
34              <td width="80px">All Faculties</td>
35              <td width="80px" align="right">
36                <span tal:content="d/sum" /> of <span tal:content="d/total" />
37              </td>             
38          </tr>
39          <tr tal:repeat="d python:departments[1:]"
40              tal:attributes="class python:test(repeat['d'].even(), 'odd ajaxtd', 'even ajaxtd')">
41              <td width="80px"> <span tal:content="d/id" /> </td>
42              <td width="80px" align="right">
43                <span tal:content="d/returned " />
44              </td>             
45          </tr>
46        </table>
47        <br />
48      </span>
49      </span>
50  </metal:block>     
51  </metal:main>
52</metal:body>
53     
Note: See TracBrowser for help on using the repository browser.