source: WAeUP_SRP/fceokene/waeup_custom/statistics_simple_view.pt @ 2660

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

School instead of Faculty

File size: 4.8 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/getSimpleStudentStatistics;
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      <nobr><a href="statistics_ret_view">Returning Student Statistics</a>
18      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>     
19      </strong>     
20
21      <h3>Basic Student Statistics</h3>
22      <br />     
23      <span tal:condition="not:isAnon">
24      Student records imported: <span tal:content="python: faculties[0]['total_in_catalog']" />
25      <br />  <br /> 
26        <table > 
27
28          <tr>
29            <th>&nbsp;</th>
30           
31            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Total</th>
32           
33            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category A</th>
34
35            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category B</th>
36
37            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category C</th>
38
39
40          </tr>
41
42          <tr class="odd ajaxtd">
43            <th >School</th>
44            <th align="right">FT</th>
45            <th align="right">PT</th>
46            <th align="right">DP</th>
47            <th align="right">FT</th>
48            <th align="right">PT</th>
49            <th align="right">DP</th>
50            <th align="right">FT</th>
51            <th align="right">PT</th>
52            <th align="right">DP</th>
53            <th align="right">FT</th>
54            <th align="right">PT</th>
55            <th align="right">DP</th>
56
57          </tr>
58          <tr tal:repeat="d faculties"
59              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
60              <td width="80px"> <span tal:content="d/id" /> </td>
61
62              <td width="60px" align="right">
63                <span tal:content="d/total_ft" />
64              </td>             
65
66              <td width="60px" align="right">
67                <span tal:content="d/total_pt" />
68              </td>             
69
70              <td width="60px" align="right">
71                <span tal:content="d/total_dp" />
72              </td>                 
73             
74              <td width="60px" align="right">
75                <span tal:content="d/total_Aft" />
76              </td>             
77
78              <td width="60px" align="right">
79                <span tal:content="d/total_Apt" />
80              </td>             
81
82              <td width="60px" align="right">
83                <span tal:content="d/total_Adp" />
84              </td>             
85
86              <td width="60px" align="right">
87                <span tal:content="d/total_Bft" />
88              </td>             
89
90              <td width="60px" align="right">
91                <span tal:content="d/total_Bpt" />
92              </td>             
93             
94              <td width="60px" align="right">
95                <span tal:content="d/total_Bdp" />
96              </td>     
97             
98              <td width="60px" align="right">
99                <span tal:content="d/total_Cft" />
100              </td>     
101             
102              <td width="60px" align="right">
103                <span tal:content="d/total_Cpt" />
104              </td>     
105             
106              <td width="60px" align="right">
107                <span tal:content="d/total_Cdp" />
108              </td>                                               
109
110                                       
111
112          </tr>
113        </table>
114
115        <br />
116        <table   border=0>
117
118        <tr><td>Category A: </td> <td>students who paid their school fee</td></tr>
119        <tr><td>Category B: </td> <td>students who registered their courses online (A contains B)</td></tr>
120        <tr><td>Category C: </td> <td>students who have not yet paid their school fee</td></tr>
121        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
122        <tr><td colspan="2"><strong>Notice:</strong> Category C is not complete.
123                <span tal:content="python: faculties[0]['not_categorized']" /> returning full-time students have not yet logged in and are thus not categorized.
124             </td>
125        </tr>
126         
127        </table>
128       
129       
130       
131      </span>
132      </span>
133  </metal:block>     
134  </metal:main>
135</metal:body>
136     
Note: See TracBrowser for help on using the repository browser.