source: WAeUP_SRP/base/skins/waeup_student/statistics_ret_view.pt @ 2237

Last change on this file since 2237 was 2067, checked in by Henrik Bettermann, 17 years ago

resolve ticket #315 number 1 and 2

File size: 4.3 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main">
3  <metal:block tal:define="faculties context/getRetStudentStatistics;
4                        mtool here/portal_membership;
5                        member mtool/getAuthenticatedMember;">       
6
7      <span tal:condition="not: faculties">
8        <span tal:content="here/illegal_view" />
9      </span>
10      <span tal:condition="faculties">
11 
12      <strong>
13      <nobr><a href="search_students">Search Students</a>
14      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
15      <nobr><a href="statistics_new_view">New Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
17      </strong>     
18
19      <h3>Returning Student Statistics</h3>
20      <br />     
21      <span tal:condition="not:isAnon">
22
23      <h3>Full-Time Students (UME, DE, UG, PG)</h3>
24      <br />           
25     
26        <table>
27          <tr class="odd ajaxtd">
28            <th >Faculty</th>
29            <th align="right">Total</th>
30            <th align="right">RET</th>
31            <th align="right">SFP</th>
32            <th align="right">CLR</th>
33            <th align="right">CLV</th>
34
35          </tr>
36          <tr tal:repeat="d faculties"
37              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
38              <td width="80px"> <span tal:content="d/id" /> </td>
39              <td width="80px" align="right">
40                <span tal:content="d/total_ft" />
41              </td>
42              <td width="80px" align="right">
43                <span tal:content="d/returning_ft" />
44                (<span tal:content="d/returning_ft_percent" />%)
45              </td>             
46              <td width="80px" align="right">
47                <span tal:content="d/school_fee_paid_ft" />
48                (<span tal:content="d/school_fee_paid_ft_percent" />%)
49              </td>
50              <td width="80px" align="right">
51                <span tal:content="d/courses_registered_ft" />
52                (<span tal:content="d/courses_registered_ft_percent" />%)
53              </td>
54              <td width="80px" align="right">
55                <span tal:content="d/courses_validated_ft" />
56                (<span tal:content="d/courses_validated_ft_percent" />%)
57              </td>                                         
58
59          </tr>
60        </table>
61
62      <h3>Part-Time Students (DE, UG, PG)</h3>
63      <br />           
64
65        <table>
66          <tr class="odd ajaxtd">
67            <th >Faculty</th>
68            <th align="right">Total</th>
69            <th align="right">RET</th>
70            <th align="right">SFP</th>
71            <th align="right">CLR</th>
72            <th align="right">CLV</th>
73
74          </tr>
75          <tr tal:repeat="d faculties"
76              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
77              <td width="80px"> <span tal:content="d/id" /> </td>
78              <td width="80px" align="right">
79                <span tal:content="d/total_pt" />
80              </td>
81              <td width="80px" align="right">
82                <span tal:content="d/returning_pt" />
83                (<span tal:content="d/returning_pt_percent" />%)
84              </td>             
85              <td width="80px" align="right">
86                <span tal:content="d/school_fee_paid_pt" />
87                (<span tal:content="d/school_fee_paid_pt_percent" />%)
88              </td>
89              <td width="80px" align="right">
90                <span tal:content="d/courses_registered_pt" />
91                (<span tal:content="d/courses_registered_pt_percent" />%)
92              </td>
93              <td width="80px" align="right">
94                <span tal:content="d/courses_validated_pt" />
95                (<span tal:content="d/courses_validated_pt_percent" />%)
96              </td>                                         
97
98          </tr>
99        </table>
100
101       
102        <br />
103        <table>
104        <tr><td>Total: </td> <td>Those who have logged in</td></tr>
105        <tr><td>RET: </td> <td>Returning</td></tr>
106        <tr><td>SFP: </td> <td>School fee paid</td></tr>
107        <tr><td>CLR: </td> <td>Course list registered</td></tr>
108        <tr><td>CLV: </td> <td>Course list validated</td></tr>               
109        </table>
110      </span>
111      </span>
112  </metal:block>     
113  </metal:main>
114</metal:body>
115     
Note: See TracBrowser for help on using the repository browser.