source: WAeUP_SRP/trunk/skins/waeup_student/statistics_simple_view.pt @ 2076

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

number of imported students which is not the sum of A and C

File size: 4.1 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            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category A</th>
31
32            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category B</th>
33
34            <th style="border-style:solid; border-width:1px; border-color:black" align="center" colspan="3">Category C</th>
35
36
37          </tr>
38
39          <tr class="odd ajaxtd">
40            <th >Faculty</th>
41            <th align="right">FT</th>
42            <th align="right">PT</th>
43            <th align="right">DP</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
51          </tr>
52          <tr tal:repeat="d faculties"
53              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
54              <td width="80px"> <span tal:content="d/id" /> </td>
55
56              <td width="60px" align="right">
57                <span tal:content="d/total_Aft" />
58              </td>             
59
60              <td width="60px" align="right">
61                <span tal:content="d/total_Apt" />
62              </td>             
63
64              <td width="60px" align="right">
65                <span tal:content="d/total_Adp" />
66              </td>             
67
68              <td width="60px" align="right">
69                <span tal:content="d/total_Bft" />
70              </td>             
71
72              <td width="60px" align="right">
73                <span tal:content="d/total_Bpt" />
74              </td>             
75             
76              <td width="60px" align="right">
77                <span tal:content="d/total_Bdp" />
78              </td>     
79             
80              <td width="60px" align="right">
81                <span tal:content="d/total_Cft" />
82              </td>     
83             
84              <td width="60px" align="right">
85                <span tal:content="d/total_Cpt" />
86              </td>     
87             
88              <td width="60px" align="right">
89                <span tal:content="d/total_Cdp" />
90              </td>                                               
91
92                                       
93
94          </tr>
95        </table>
96
97        <br />
98        <table   border=0>
99
100        <tr><td>Category A: </td> <td>students who paid their school fee</td></tr>
101        <tr><td>Category B: </td> <td>students who registered their courses online (A contains B)</td></tr>
102        <tr><td>Category C: </td> <td>students who who have not yet paid their school fee</td></tr>
103        <tr><td>&nbsp;</td><td>&nbsp;</td></tr>
104        <tr><td colspan="2"><strong>Notice:</strong> Category C is not complete.
105                <span tal:content="python: faculties[0]['not_categorized']" /> returning full-time students have not yet logged in and are thus not categorized.
106             </td>
107        </tr>
108         
109        </table>
110       
111       
112       
113      </span>
114      </span>
115  </metal:block>     
116  </metal:main>
117</metal:body>
118     
Note: See TracBrowser for help on using the repository browser.