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 | session_str python:context.getSessionId()[1];"> |
---|
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 | </nobr> |
---|
16 | <nobr><a href="statistics_new_view">New Student Statistics</a> |
---|
17 | </nobr> |
---|
18 | </strong> |
---|
19 | |
---|
20 | <h3>Returning Student Statistics <span tal:content="session_str" /></h3> |
---|
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> |
---|
31 | |
---|
32 | <th align="right">SFP</th> |
---|
33 | <th align="right">CLR</th> |
---|
34 | <th align="right">CLV</th> |
---|
35 | <th align="right">RET</th> |
---|
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" />%) |
---|
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> |
---|
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> |
---|
71 | |
---|
72 | <th align="right">SFP</th> |
---|
73 | <th align="right">CLR</th> |
---|
74 | <th align="right">CLV</th> |
---|
75 | <th align="right">RET</th> |
---|
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" /> |
---|
83 | </td> |
---|
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" />%) |
---|
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> |
---|
100 | |
---|
101 | </tr> |
---|
102 | </table> |
---|
103 | |
---|
104 | |
---|
105 | <br /> |
---|
106 | <table> |
---|
107 | <tr><td>Total: </td> <td>Those who have logged in</td></tr> |
---|
108 | <tr><td>SFP: </td> <td>School fee paid</td></tr> |
---|
109 | <tr><td>CLR: </td> <td>Course list registered</td></tr> |
---|
110 | <tr><td>CLV: </td> <td>Course list validated</td></tr> |
---|
111 | <tr><td>RET: </td> <td>Returning</td></tr> |
---|
112 | </table> |
---|
113 | </span> |
---|
114 | </span> |
---|
115 | </metal:block> |
---|
116 | </metal:main> |
---|
117 | </metal:body> |
---|
118 | |
---|