source: WAeUP_SRP/trunk/skins/waeup_student/statistics_view.pt @ 1307

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

minor changes

File size: 2.4 KB
Line 
1                     
2  <metal:body use-macro="here/main_template/macros/master">
3
4
5    <metal:main fill-slot="main">
6
7  <metal:block tal:define="departments context/getStudentStatistics;
8                        mtool here/portal_membership;
9                        member mtool/getAuthenticatedMember;">       
10
11      <span tal:condition="not: departments">
12        <span tal:content="here/illegal_view" />
13      </span>
14      <span tal:condition="departments">
15 
16      <a href="search_students"><strong>Search Students</strong></a>
17      <h3>Student Statistics</h3>
18      <br />     
19      <span tal:condition="not:isAnon">
20        <table>
21          <tr class="odd ajaxtd">
22            <th >Faculty</th>
23            <th align="right">Total</th>
24            <th align="right">OR</th>
25            <th align="right">CPE</th>
26            <th align="right">CR</th>
27            <th align="right">VC</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/students" />
34              </td>
35              <td width="80px" align="right">
36                <span tal:content="d/objection_raised" />
37                (<span tal:content="d/objection_raised_percent" />%)
38              </td>
39              <td width="80px" align="right">
40                <span tal:content="d/clearance_pin_entered" />
41                (<span tal:content="d/clearance_pin_entered_percent" />%)
42              </td>
43              <td width="80px" align="right">
44                <span tal:content="d/clearance_requested" />
45                (<span tal:content="d/clearance_requested_percent" />%)
46              </td>
47              <td width="80px" align="right">
48                <span tal:content="d/cleared_and_validated" />
49                (<span tal:content="d/cleared_and_validated_percent" />%)
50              </td>
51          </tr>
52        </table>
53        <br />
54        <table>
55        <tr><td>OR:</td> <td>Objection raised</td></tr>
56        <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr>
57        <tr><td>CR: </td> <td>Clearance requested</td></tr>
58        <tr><td>VC: </td> <td>Validated and cleared</td></tr>
59        </table>
60      </span>
61      </span>
62</metal:block>     
63    </metal:main>
64
65  </metal:body>
66     
Note: See TracBrowser for help on using the repository browser.