source: WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt @ 1489

Last change on this file since 1489 was 1429, checked in by Henrik Bettermann, 18 years ago
  • Name, Level, MatricNo? and Sex are taken from the students_catalog
  • Course from returning_import
  • Verdict, GPA and Session from results_import
File size: 2.9 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">
[1413]4      <div tal:condition="nothing" style="text-align: right">
5        <a href="" target="slip" tal:attributes="href string:session_results_slip?nr=${info/student/matric_no}"
[1171]6           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')">
7          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
[1413]8          Session Result Slip
[1171]9        </a>
10      </div>
[1411]11      <h3>Session Results of <span tal:content="info/student/name" />
[1171]12      </h3>
13      <br />
14      <table>
15        <tr>
[1174]16          <th width="180px">Student ID:</th>
[1171]17          <td>
[1174]18            <span tal:replace="info/s_id" />
[1171]19          </td>     
20        </tr>     
21     
22        <tr>
[1174]23          <th width="150px">Matriculation Number:</th><td tal:content="info/student/matric_no" />                     
[1171]24        </tr>
25        <tr>
[1429]26          <th>Sex:</th><td tal:content="info/sex" />                     
[1171]27        </tr>
28        <tr>
[1411]29          <th valign="top">Course of Study:</th><td tal:content="info/student_from_returning/Coursemajor" />                     
[1171]30        </tr>
31        <tr>
[1429]32          <th>Level:</th><td tal:content="info/level" />                     
[1171]33        </tr>
34      </table>
35       
36       <table>
37          <tr>
[1183]38            <th width="180px">Verdict:</th><td tal:content="info/verdict" />
[1171]39          </tr>
40          <tr> 
[1183]41            <th>Session:</th><td tal:content="info/session" />
[1179]42          </tr>
43          <tr> 
[1182]44            <th valign="top">GPA:</th><td> <span tal:content="info/gpa" /> (on the basis of the data below)  </td>
[1179]45          </tr>                   
[1171]46       </table>
47
48       <br />
49                     
50       <table>
[1174]51         <span tal:repeat="semester info/results">
[1171]52            <span tal:repeat="result semester">
53             <tr tal:condition="repeat/result/start">
[1179]54                <th colspan="2">
55                   <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester
56                </th>
57                <td>Grade</td>
58                <td>Weight</td>
59                <td>Credits</td>
60             </tr>             
[1171]61            <tr>     
[1179]62            <td valign="top" width="80px" tal:content="result/CosCode" />
63            <td valign="top" tal:content="result/title" />
64            <td valign="top" width="50px" align="center" tal:content="result/GRADE" />
65            <td valign="top" width="50px" align="center" tal:content="result/WEIGHT" />
66            <td valign="top" width="50px" align="center" tal:content="result/credits" />
67
[1171]68          </tr>
69        </span>
[1179]70        <tr><td colspan="5">&nbsp;</td></tr>
[1171]71        </span>
72      </table>
[1413]73
[1171]74    </metal:main>
[1292]75</metal:body>
76
Note: See TracBrowser for help on using the repository browser.