source: WAeUP_SRP/trunk/skins/waeup_student/statistics_reg_view.pt @ 1530

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

new reg statistics

File size: 2.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/getRegStatistics;
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><nobr>Search Students</nobr></strong></a>
13      &nbsp;&nbsp;&nbsp;&nbsp;
14      <a href="statistics_new_view"><strong><nobr>New Student Statistics</nobr></strong></a>
15      &nbsp;&nbsp;&nbsp;&nbsp;
16      <a href="statistics_ret_view"><strong><nobr>Returning Student Statistics</nobr></strong></a>     
17
18      <h3>New Student Statistics</h3>
19      <br />
20      <span tal:condition="not:isAnon">
21        <table>
22          <tr class="odd ajaxtd">
23            <th >Faculty</th>
24            <th align="right">Total</th>
25            <th align="right">SFP</th>
26            <th align="right">CREG</th>
27            <th align="right">CVAL</th>
28          </tr>
29          <tr tal:repeat="d departments"
30              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
31              <td width="80px"> <span tal:content="d/id" /> </td>
32              <td width="80px" align="right">
33                <span tal:content="d/total" />
34              </td>
35              <td width="80px" align="right">
36                <span tal:content="d/school_fee_paid" />
37                (<span tal:content="d/school_fee_paid_percent" />%)
38              </td>             
39              <td width="80px" align="right">
40                <span tal:content="d/courses_registered" />
41                (<span tal:content="d/courses_registered_percent" />%)
42              </td>
43              <td width="80px" align="right">
44                <span tal:content="d/courses_validated" />
45                (<span tal:content="d/courses_validated_percent" />%)
46              </td>
47
48          </tr>
49        </table>
50        <br />
51        <table>
52        <tr><td>SFP:</td> <td>School fee paid</td></tr>
53        <tr><td>CREG:</td> <td>Courses registered</td></tr>
54        <tr><td>CVAL:</td> <td>Courses validated</td></tr>
55        </table>
56      </span>
57      </span>
58  </metal:block>     
59  </metal:main>
60</metal:body>
61     
Note: See TracBrowser for help on using the repository browser.