source: WAeUP_SRP/trunk/skins/waeup_student/statistics_ret_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: 4.3 KB
RevLine 
[1292]1<metal:body use-macro="here/main_template/macros/master">
[1286]2  <metal:main fill-slot="main">
[1762]3  <metal:block tal:define="faculties context/getRetStudentStatistics;
[1286]4                        mtool here/portal_membership;
5                        member mtool/getAuthenticatedMember;">       
6
[1762]7      <span tal:condition="not: faculties">
[1286]8        <span tal:content="here/illegal_view" />
9      </span>
[1762]10      <span tal:condition="faculties">
[1286]11 
[1531]12      <strong>
[1762]13      <nobr><a href="search_students">Search Students</a>
14      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>       
[1531]15      <nobr><a href="statistics_new_view">New Student Statistics</a>
16      &nbsp;&nbsp;&nbsp;&nbsp;</nobr>
[1762]17      </strong>     
[1531]18
[1767]19      <h3>Returning Student Statistics</h3>
[1286]20      <br />     
21      <span tal:condition="not:isAnon">
[2067]22
23      <h3>Full-Time Students (UME, DE, UG, PG)</h3>
24      <br />           
25     
[1286]26        <table>
27          <tr class="odd ajaxtd">
28            <th >Faculty</th>
[1762]29            <th align="right">Total</th>
[1551]30            <th align="right">RET</th>
[1762]31            <th align="right">SFP</th>
[1766]32            <th align="right">CLR</th>
33            <th align="right">CLV</th>
[1762]34
[1286]35          </tr>
[1762]36          <tr tal:repeat="d faculties"
37              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
38              <td width="80px"> <span tal:content="d/id" /> </td>
39              <td width="80px" align="right">
[2067]40                <span tal:content="d/total_ft" />
[1762]41              </td>
[1530]42              <td width="80px" align="right">
[2067]43                <span tal:content="d/returning_ft" />
44                (<span tal:content="d/returning_ft_percent" />%)
[1530]45              </td>             
[1286]46              <td width="80px" align="right">
[2067]47                <span tal:content="d/school_fee_paid_ft" />
48                (<span tal:content="d/school_fee_paid_ft_percent" />%)
[1762]49              </td>
[1551]50              <td width="80px" align="right">
[2067]51                <span tal:content="d/courses_registered_ft" />
52                (<span tal:content="d/courses_registered_ft_percent" />%)
[1762]53              </td>
54              <td width="80px" align="right">
[2067]55                <span tal:content="d/courses_validated_ft" />
56                (<span tal:content="d/courses_validated_ft_percent" />%)
[1762]57              </td>                                         
58
[1286]59          </tr>
60        </table>
[2067]61
62      <h3>Part-Time Students (DE, UG, PG)</h3>
63      <br />           
64
65        <table>
66          <tr class="odd ajaxtd">
67            <th >Faculty</th>
68            <th align="right">Total</th>
69            <th align="right">RET</th>
70            <th align="right">SFP</th>
71            <th align="right">CLR</th>
72            <th align="right">CLV</th>
73
74          </tr>
75          <tr tal:repeat="d faculties"
76              tal:attributes="class python:test(repeat['d'].even(), 'even ajaxtd', 'odd ajaxtd')">
77              <td width="80px"> <span tal:content="d/id" /> </td>
78              <td width="80px" align="right">
79                <span tal:content="d/total_pt" />
80              </td>
81              <td width="80px" align="right">
82                <span tal:content="d/returning_pt" />
83                (<span tal:content="d/returning_pt_percent" />%)
84              </td>             
85              <td width="80px" align="right">
86                <span tal:content="d/school_fee_paid_pt" />
87                (<span tal:content="d/school_fee_paid_pt_percent" />%)
88              </td>
89              <td width="80px" align="right">
90                <span tal:content="d/courses_registered_pt" />
91                (<span tal:content="d/courses_registered_pt_percent" />%)
92              </td>
93              <td width="80px" align="right">
94                <span tal:content="d/courses_validated_pt" />
95                (<span tal:content="d/courses_validated_pt_percent" />%)
96              </td>                                         
97
98          </tr>
99        </table>
100
101       
[1286]102        <br />
[1551]103        <table>
[1767]104        <tr><td>Total: </td> <td>Those who have logged in</td></tr>
[1762]105        <tr><td>RET: </td> <td>Returning</td></tr>
106        <tr><td>SFP: </td> <td>School fee paid</td></tr>
[1766]107        <tr><td>CLR: </td> <td>Course list registered</td></tr>
108        <tr><td>CLV: </td> <td>Course list validated</td></tr>               
[1762]109        </table>
[1286]110      </span>
111      </span>
112  </metal:block>     
113  </metal:main>
[1292]114</metal:body>
[1286]115     
Note: See TracBrowser for help on using the repository browser.