source: WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt @ 1148

Last change on this file since 1148 was 1146, checked in by joachim, 18 years ago

added import for registered and results,
the csv-files must contain a modified heading
results can be viewed with session_results_anon_view
modified Courses import to use courses catalog

  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1<metal:html tal:define="student options/student;
2            results options/results"
3            >
4  <metal:body use-macro="here/main_template/macros/master">
5    <metal:main fill-slot="main">
6      <div style="text-align: right">
7        <a href="" target="slip" tal:attributes="href string:session_results_anon_slip?nr=${student/matric_no}"
8           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')">
9          <img tal:attributes="src string:${here/portal_url}/actionicon_print.png" />
10          Session Result Slip
11        </a>
12      </div>
13      <h3>Session Results of <span tal:content="student/Firstname" />
14        <span tal:content="student/Middlename" />
15        <span tal:content="student/Lastname" />
16      </h3>
17      <table>
18        <tr>
19          <th>MatricelNo</th><td tal:content="student/matric_no" />                     
20        </tr>
21        <tr>
22          <th>Sex</th><td tal:content="student/Sex" />                     
23        </tr>
24        <tr>
25          <th>Course of Study</th><td tal:content="student/Coursemajor" />                     
26        </tr>
27        <tr>
28          <th>Level</th><td tal:content="student/Level" />                     
29        </tr>
30      </table>
31       <br />             
32                     
33       <table>
34        <span tal:repeat="result results">
35          <tr tal:condition="repeat/result/start">
36            <td tal:content="result/Verdict" /> <td tal:content="result/Session" />
37          </tr>       
38          <tr tal:condition="repeat/result/start"><th>Course</th><th>Grade</th><th>Weight</th></tr>
39          <tr><td tal:content="result/CosCode" />
40            <td tal:content="result/GRADE" /><td tal:content="result/WEIGHT" />
41          </tr>
42        </span>
43      </table>
44    </metal:main>
45  </metal:body>
46</metal:html>
Note: See TracBrowser for help on using the repository browser.