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

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

'Total' instead of 'Students'

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