source: WAeUP_SRP/trunk/skins/waeup_statistics/statistics_ret_view.pt @ 4113

Last change on this file since 4113 was 3774, checked in by Henrik Bettermann, 16 years ago

resolve ticket #462

File size: 6.0 KB
RevLine 
[2243]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;
[2705]5                        member mtool/getAuthenticatedMember;
6                        session_str python:context.getSessionId()[1];">       
[2243]7
8      <span tal:condition="not: faculties">
9        <span tal:content="here/illegal_view" />
10      </span>
11      <span tal:condition="faculties">
12 
13      <strong>
14      <nobr><a href="search_students">Search Students</a>
15      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
16      <nobr><a href="statistics_new_view">New Student Statistics</a>
17      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
18      </strong>     
19
[2705]20      <h3>Returning Student Statistics  <span tal:content="session_str" /></h3>
[2243]21      <br />     
22      <span tal:condition="not:isAnon">
23
24      <h3>Full-Time Students (UME, DE, UG, PG)</h3>
25      <br />           
26     
27        <table>
28          <tr class="odd ajaxtd">
29            <th >Faculty</th>
30            <th align="right">Total</th>
[3171]31           
[2243]32            <th align="right">SFP</th>
33            <th align="right">CLR</th>
34            <th align="right">CLV</th>
[3171]35            <th align="right">RET</th>
[2243]36
37          </tr>
38          <tr tal:repeat="d faculties"
39              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
40              <td width="80px"> <span tal:content="d/id" /> </td>
41              <td width="80px" align="right">
42                <span tal:content="d/total_ft" />
43              </td>
44              <td width="80px" align="right">
45                <span tal:content="d/school_fee_paid_ft" />
46                (<span tal:content="d/school_fee_paid_ft_percent" />%)
47              </td>
48              <td width="80px" align="right">
49                <span tal:content="d/courses_registered_ft" />
50                (<span tal:content="d/courses_registered_ft_percent" />%)
51              </td>
52              <td width="80px" align="right">
53                <span tal:content="d/courses_validated_ft" />
54                (<span tal:content="d/courses_validated_ft_percent" />%)
[3171]55              </td>       
56              <td width="80px" align="right">
57                <span tal:content="d/returning_ft" />
58                (<span tal:content="d/returning_ft_percent" />%)
59              </td>                                                   
[2243]60
61          </tr>
62        </table>
63
64      <h3>Part-Time Students (DE, UG, PG)</h3>
65      <br />           
66
67        <table>
68          <tr class="odd ajaxtd">
69            <th >Faculty</th>
70            <th align="right">Total</th>
[3171]71
[2243]72            <th align="right">SFP</th>
73            <th align="right">CLR</th>
74            <th align="right">CLV</th>
[3171]75            <th align="right">RET</th>           
[2243]76
77          </tr>
78          <tr tal:repeat="d faculties"
79              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
80              <td width="80px"> <span tal:content="d/id" /> </td>
81              <td width="80px" align="right">
82                <span tal:content="d/total_pt" />
[3171]83              </td>       
[2243]84              <td width="80px" align="right">
85                <span tal:content="d/school_fee_paid_pt" />
86                (<span tal:content="d/school_fee_paid_pt_percent" />%)
87              </td>
88              <td width="80px" align="right">
89                <span tal:content="d/courses_registered_pt" />
90                (<span tal:content="d/courses_registered_pt_percent" />%)
91              </td>
92              <td width="80px" align="right">
93                <span tal:content="d/courses_validated_pt" />
94                (<span tal:content="d/courses_validated_pt_percent" />%)
[3171]95              </td>
96              <td width="80px" align="right">
97                <span tal:content="d/returning_pt" />
98                (<span tal:content="d/returning_pt_percent" />%)
99              </td>                                                             
[2243]100
101          </tr>
102        </table>
[3774]103       
104      <h3>Diploma Students (full-time and part-time)</h3>
105      <br />           
[2243]106
[3774]107        <table>
108          <tr class="odd ajaxtd">
109            <th >Faculty</th>
110            <th align="right">Total</th>
111
112            <th align="right">SFP</th>
113            <th align="right">CLR</th>
114            <th align="right">CLV</th>
115            <th align="right">RET</th>           
116
117          </tr>
118          <tr tal:repeat="d faculties"
119              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
120              <td width="80px"> <span tal:content="d/id" /> </td>
121              <td width="80px" align="right">
122                <span tal:content="d/total_dp" />
123              </td>       
124              <td width="80px" align="right">
125                <span tal:content="d/school_fee_paid_dp" />
126                (<span tal:content="d/school_fee_paid_dp_percent" />%)
127              </td>
128              <td width="80px" align="right">
129                <span tal:content="d/courses_registered_dp" />
130                (<span tal:content="d/courses_registered_dp_percent" />%)
131              </td>
132              <td width="80px" align="right">
133                <span tal:content="d/courses_validated_dp" />
134                (<span tal:content="d/courses_validated_dp_percent" />%)
135              </td>
136              <td width="80px" align="right">
137                <span tal:content="d/returning_dp" />
138                (<span tal:content="d/returning_dp_percent" />%)
139              </td>                                                             
140
141          </tr>
142        </table>       
143
[2243]144       
145        <br />
146        <table>
147        <tr><td>Total: </td> <td>Those who have logged in</td></tr>
148        <tr><td>SFP: </td> <td>School fee paid</td></tr>
149        <tr><td>CLR: </td> <td>Course list registered</td></tr>
[3171]150        <tr><td>CLV: </td> <td>Course list validated</td></tr>     
151        <tr><td>RET: </td> <td>Returning</td></tr>                   
[2243]152        </table>
153      </span>
154      </span>
155  </metal:block>     
156  </metal:main>
157</metal:body>
158     
Note: See TracBrowser for help on using the repository browser.