source: WAeUP_SRP/trunk/skins/waeup_student/statistics_new_view.pt @ 1493

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

Page templates slimmed down
bug in reserve_accommodation fixed

File size: 2.8 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/getNewStudentStatistics;
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_ret_view"><strong>Returning Student Statistics</strong></a>
15      <h3>New 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">Total New</th>
22            <th align="right">AD</th>
23            <th align="right">OR</th>
24            <th align="right">CPE</th>
25            <th align="right">CR</th>
26            <th align="right">VC</th>
27          </tr>
28          <tr tal:repeat="d departments"
29              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
30              <td width="80px"> <span tal:content="d/id" /> </td>
31              <td width="80px" align="right">
32                <span tal:content="d/new" />
33              </td>
34              <td width="80px" align="right">
35                <span tal:content="d/admitted" />
36                (<span tal:content="d/admitted_percent" />%)
37              </td>             
38              <td width="80px" align="right">
39                <span tal:content="d/objection_raised" />
40                (<span tal:content="d/objection_raised_percent" />%)
41              </td>
42              <td width="80px" align="right">
43                <span tal:content="d/clearance_pin_entered" />
44                (<span tal:content="d/clearance_pin_entered_percent" />%)
45              </td>
46              <td width="80px" align="right">
47                <span tal:content="d/clearance_requested" />
48                (<span tal:content="d/clearance_requested_percent" />%)
49              </td>
50              <td width="80px" align="right">
51                <span tal:content="d/cleared_and_validated" />
52                (<span tal:content="d/cleared_and_validated_percent" />%)
53              </td>
54     
55          </tr>
56        </table>
57        <br />
58        <table>
59        <tr><td>AD:</td> <td>Admitted</td></tr>
60        <tr><td>OR:</td> <td>Objection raised</td></tr>
61        <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr>
62        <tr><td>CR: </td> <td>Clearance requested</td></tr>
63        <tr><td>VC: </td> <td>Validated and cleared</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.