source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/statistics_ret_view.pt @ 17394

Last change on this file since 17394 was 1596, checked in by joachim, 18 years ago

merged changes from trunk to joachim-event-branch

File size: 2.6 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/getRetStudentStatistics;
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      <strong>
13      <nobr><a href="statistics_new_view">New Student Statistics</a>
14      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
15      <nobr><a href="statistics_ret_view">Returning Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
17      <nobr><a href="statistics_reg_view">Registration Statistics</a>
18      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
19      <nobr><a href="list_students">Cleared Student Export</a>
20      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
21      </strong>
22
23   
24      <h3>Returning Student Statistics</h3>
25      <br />     
26      <span tal:content="python:departments[0]['total_ret']" />
27      returning student records have been imported.
28      <span tal:content="python:departments[0]['total_li']" /> returning students
29      have logged in.
30      <br /><br />
31      <span tal:condition="not:isAnon">
32        <table>
33          <tr class="odd ajaxtd">
34            <th >Faculty</th>
35            <th align="right">RET</th>
36            <th align="right">SFP</th>
37          </tr>
38          <tr tal:define="d python:departments[0]"
39              class="even ajaxtd">
40              <td width="80px">All Faculties</td>
41              <td width="80px" align="right">
42                <span tal:content="d/ret" />
43              </td>   
44              <td width="80px" align="right">
45                <span tal:content="d/sfp" />
46              </td>             
47          </tr>
48          <tr tal:repeat="d python:departments[1:]"
49              tal:attributes="class python:test(repeat['d'].even(), 'odd ajaxtd', 'even ajaxtd')">
50              <td width="80px"> <span tal:content="d/id" /> </td>
51              <td width="80px" align="right">
52                <span tal:content="d/ret" />
53              </td>       
54              <td width="80px" align="right">
55                <span tal:content="d/sfp" />
56              </td>                             
57          </tr>
58        </table>
59        <br />
60        <table>
61        <tr><td>RET:</td> <td>Returning students who have logged in</td></tr>
62        <tr><td>SFP:</td> <td>Returning students who already paid their school fee</td></tr>
63        </table>       
64      </span>
65      </span>
66  </metal:block>     
67  </metal:main>
68</metal:body>
69     
Note: See TracBrowser for help on using the repository browser.