source: WAeUP_SRP/trunk/skins/waeup_student/statistics_new_view.pt @ 2163

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

resolve ticket #315 number 1 and 2

File size: 6.4 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/getNewStudentStatistics;
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_ret_view">Returning Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
17      </strong>     
18
19      <h3>New 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 New</th>
30            <th align="right">AD</th>
31            <th align="right">OR</th>
32            <th align="right">CPE</th>
33            <th align="right">CR</th>
34            <th align="right">VC</th>
35            <th align="right">SFP</th>
36            <th align="right">CLR</th>
37            <th align="right">CLV</th>
38
39          </tr>
40          <tr tal:repeat="d faculties"
41              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
42              <td width="80px"> <span tal:content="d/id" /> </td>
43              <td width="80px" align="right">
44                <span tal:content="d/total_ft" />
45              </td>
46              <td width="80px" align="right">
47                <span tal:content="d/admitted_ft" />
48                (<span tal:content="d/admitted_ft_percent" />%)
49              </td>             
50              <td width="80px" align="right">
51                <span tal:content="d/objection_raised_ft" />
52                (<span tal:content="d/objection_raised_ft_percent" />%)
53              </td>
54              <td width="80px" align="right">
55                <span tal:content="d/clearance_pin_entered_ft" />
56                (<span tal:content="d/clearance_pin_entered_ft_percent" />%)
57              </td>
58              <td width="80px" align="right">
59                <span tal:content="d/clearance_requested_ft" />
60                (<span tal:content="d/clearance_requested_ft_percent" />%)
61              </td>
62              <td width="80px" align="right">
63                <span tal:content="d/cleared_and_validated_ft" />
64                (<span tal:content="d/cleared_and_validated_ft_percent" />%)
65              </td>
66              <td width="80px" align="right">
67                <span tal:content="d/school_fee_paid_ft" />
68                (<span tal:content="d/school_fee_paid_ft_percent" />%)
69              </td>
70              <td width="80px" align="right">
71                <span tal:content="d/courses_registered_ft" />
72                (<span tal:content="d/courses_registered_ft_percent" />%)
73              </td>
74              <td width="80px" align="right">
75                <span tal:content="d/courses_validated_ft" />
76                (<span tal:content="d/courses_validated_ft_percent" />%)
77              </td>                                         
78
79          </tr>
80        </table>
81
82      <h3>Part-Time Students (DE, UG, PG)</h3>
83      <br />     
84
85        <table>
86          <tr class="odd ajaxtd">
87            <th >Faculty</th>
88            <th align="right">Total New</th>
89            <th align="right">AD</th>
90            <th align="right">OR</th>
91            <th align="right">CPE</th>
92            <th align="right">CR</th>
93            <th align="right">VC</th>
94            <th align="right">SFP</th>
95            <th align="right">CLR</th>
96            <th align="right">CLV</th>
97
98          </tr>
99          <tr tal:repeat="d faculties"
100              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
101              <td width="80px"> <span tal:content="d/id" /> </td>
102              <td width="80px" align="right">
103                <span tal:content="d/total_pt" />
104              </td>
105              <td width="80px" align="right">
106                <span tal:content="d/admitted_pt" />
107                (<span tal:content="d/admitted_pt_percent" />%)
108              </td>             
109              <td width="80px" align="right">
110                <span tal:content="d/objection_raised_pt" />
111                (<span tal:content="d/objection_raised_pt_percent" />%)
112              </td>
113              <td width="80px" align="right">
114                <span tal:content="d/clearance_pin_entered_pt" />
115                (<span tal:content="d/clearance_pin_entered_pt_percent" />%)
116              </td>
117              <td width="80px" align="right">
118                <span tal:content="d/clearance_requested_pt" />
119                (<span tal:content="d/clearance_requested_pt_percent" />%)
120              </td>
121              <td width="80px" align="right">
122                <span tal:content="d/cleared_and_validated_pt" />
123                (<span tal:content="d/cleared_and_validated_pt_percent" />%)
124              </td>
125              <td width="80px" align="right">
126                <span tal:content="d/school_fee_paid_pt" />
127                (<span tal:content="d/school_fee_paid_pt_percent" />%)
128              </td>
129              <td width="80px" align="right">
130                <span tal:content="d/courses_registered_pt" />
131                (<span tal:content="d/courses_registered_pt_percent" />%)
132              </td>
133              <td width="80px" align="right">
134                <span tal:content="d/courses_validated_pt" />
135                (<span tal:content="d/courses_validated_pt_percent" />%)
136              </td>                                         
137
138          </tr>
139        </table>
140
141
142
143        <br />
144        <table>
145        <tr><td>AD:</td> <td>Admitted</td></tr>
146        <tr><td>OR:</td> <td>Objection raised</td></tr>
147        <tr><td>CPE:</td> <td>Clearance PIN entered</td></tr>
148        <tr><td>CR: </td> <td>Clearance requested</td></tr>
149        <tr><td>VC: </td> <td>Validated and cleared</td></tr>
150        <tr><td>SFP: </td> <td>School fee paid</td></tr>
151        <tr><td>CLR: </td> <td>Course list registered</td></tr>
152        <tr><td>CLV: </td> <td>Course list validated</td></tr>               
153        </table>
154      </span>
155      </span>
156  </metal:block>     
157  </metal:main>
158</metal:body>
159     
Note: See TracBrowser for help on using the repository browser.