source: WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_student/statistics_ret_view.pt @ 14312

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

wrong headline fixed

File size: 2.6 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main">
3  <metal:block tal:define="faculties context/getRetStudentStatistics;
4                        mtool here/portal_membership;
5                        member mtool/getAuthenticatedMember;">       
6
7      <span tal:condition="not: faculties">
8        <span tal:content="here/illegal_view" />
9      </span>
10      <span tal:condition="faculties">
11 
12      <strong>
13      <nobr><a href="search_students">Search Students</a>
14      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
15      <nobr><a href="statistics_new_view">New Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
17      </strong>     
18
19      <h3>Returning Student Statistics</h3>
20      <br />     
21      <span tal:condition="not:isAnon">
22        <table>
23          <tr class="odd ajaxtd">
24            <th >Faculty</th>
25            <th align="right">Total</th>
26            <th align="right">RET</th>
27            <th align="right">SFP</th>
28            <th align="right">CLR</th>
29            <th align="right">CLV</th>
30
31          </tr>
32          <tr tal:repeat="d faculties"
33              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
34              <td width="80px"> <span tal:content="d/id" /> </td>
35              <td width="80px" align="right">
36                <span tal:content="d/total" />
37              </td>
38              <td width="80px" align="right">
39                <span tal:content="d/returning" />
40                (<span tal:content="d/returning_percent" />%)
41              </td>             
42              <td width="80px" align="right">
43                <span tal:content="d/school_fee_paid" />
44                (<span tal:content="d/school_fee_paid_percent" />%)
45              </td>
46              <td width="80px" align="right">
47                <span tal:content="d/courses_registered" />
48                (<span tal:content="d/courses_registered_percent" />%)
49              </td>
50              <td width="80px" align="right">
51                <span tal:content="d/courses_validated" />
52                (<span tal:content="d/courses_validated_percent" />%)
53              </td>                                         
54
55          </tr>
56        </table>
57        <br />
58        <table>
59        <tr><td>Total: </td> <td>Those who have logged in</td></tr>
60        <tr><td>RET: </td> <td>Returning</td></tr>
61        <tr><td>SFP: </td> <td>School fee paid</td></tr>
62        <tr><td>CLR: </td> <td>Course list registered</td></tr>
63        <tr><td>CLV: </td> <td>Course list validated</td></tr>               
64        </table>
65      </span>
66      </span>
67  </metal:block>     
68  </metal:main>
69</metal:body>
70     
Note: See TracBrowser for help on using the repository browser.