source: WAeUP_SRP/base/skins/waeup_student/session_results_view.pt @ 2466

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

rebuild getNextInfo.py (was completely wrong)
fix makeStudentData
and other changes

File size: 2.8 KB
RevLine 
[1292]1<metal:body use-macro="here/main_template/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="info context/getSessionResults">
[1851]4      <metal:block tal:condition="not: info">
5        <span tal:content="here/illegal_view" />
6      </metal:block>
7      <metal:block tal:condition="info">               
[1413]8      <div tal:condition="nothing" style="text-align: right">
9        <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}"
[1171]10           onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
11          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
[1413]12          Session Result Slip
[1171]13        </a>
14      </div>
[1411]15      <h3>Session Results of <span tal:content="info/student/name" />
[1171]16      </h3>
17      <br />
18      <table>
19        <tr>
[1174]20          <th width="180px">Student ID:</th>
[1171]21          <td>
[1174]22            <span tal:replace="info/s_id" />
[1171]23          </td>     
24        </tr>     
25     
26        <tr>
[1174]27          <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" />                     
[1171]28        </tr>
29        <tr>
[1679]30          <th>Current Level:</th><td tal:content="info/level" />                     
[1171]31        </tr>
32      </table>
33       
34       <table>
35          <tr>
[1183]36            <th width="180px">Verdict:</th><td tal:content="info/verdict" />
[1171]37          </tr>
38          <tr> 
[1183]39            <th>Session:</th><td tal:content="info/session" />
[1179]40          </tr>
41          <tr> 
[1182]42            <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below)  </td>
[1179]43          </tr>                   
[1171]44       </table>
45
46       <br />
47                     
48       <table>
[1174]49         <span tal:repeat="semester info/results">
[1171]50            <span tal:repeat="result semester">
51             <tr tal:condition="repeat/result/start">
[1179]52                <th colspan="2">
53                   <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester
54                </th>
55                <td>Grade</td>
56                <td>Weight</td>
57                <td>Credits</td>
58             </tr>             
[1171]59            <tr>     
[1179]60            <td valign="top" width="80px" tal:content="result/CosCode" />
61            <td valign="top" tal:content="result/title" />
62            <td valign="top" width="50px" align="center" tal:content="result/GRADE" />
63            <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" />
64            <td valign="top" width="50px" align="center" tal:content="result/credits" />
65
[1171]66          </tr>
67        </span>
[1179]68        <tr><td colspan="5">&nbsp;</td></tr>
[1171]69        </span>
70      </table>
[1851]71      </metal:block>
[1171]72    </metal:main>
[1292]73</metal:body>
74
Note: See TracBrowser for help on using the repository browser.