source: WAeUP_SRP/trunk/skins/waeup_student/statistic_view.pt @ 1082

Last change on this file since 1082 was 1081, checked in by joachim, 18 years ago

first version of statistic (already in custom)

  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1<metal:html tal:define="departments context/getStudentStatistics;
2                        mtool here/portal_membership;
3                        member mtool/getAuthenticatedMember;"
4                        >
5  <metal:body use-macro="here/main_template/macros/master">
6    <metal:main fill-slot="main">
7      <span tal:condition="isAnon">
8      </span> 
9      <h3>Student Statistic</h3>
10      <br />     
11      <span tal:condition="not:isAnon">
12        <table>
13          <tr class="odd ajaxtd">
14            <th>Department</th>
15            <th>Students</th>
16            <th>CPE</th>
17            <th>CR</th>
18            <th>Cleared</th>
19          </tr>
20          <tr tal:repeat="d departments"
21              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
22            <td> <span tal:content="d/id" /> </td>
23            <td align="right" tal:content="d/students" />
24            <td align="right" tal:content="d/clearance_pin_entered" />
25            <td align="right" tal:content="d/clearance_requested" />
26            <td align="right" tal:content="d/cleared_and_validated" />
27          </tr>
28        </table>
29      </span>
30    </metal:main>
31  </metal:body>
32</metal:html>
Note: See TracBrowser for help on using the repository browser.