source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_student/session_results_anon_view.pt @ 16400

Last change on this file since 16400 was 1292, checked in by Henrik Bettermann, 18 years ago

Page templates slimmed down
bug in reserve_accommodation fixed

  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2    <metal:main fill-slot="main"
3                tal:define="student options/student;
4                            results options/results;
5                            registered options/registered">
6      <h3>Session Results of <span tal:content="student/Firstname" />
7        <span tal:content="student/Middlename" />
8        <span tal:content="student/Lastname" />
9      </h3>
10      <br />
11      <table>
12        <tr>
13          <th width="150px">Matriculation Number:</th><td tal:content="student/matric_no" />                     
14        </tr>
15        <tr>
16          <th>Sex:</th><td tal:content="student/Sex" />                     
17        </tr>
18        <tr>
19          <th>Course of Study:</th><td tal:content="student/Coursemajor" />                     
20        </tr>
21        <tr>
22          <th>Level:</th><td tal:content="student/Level" />                     
23        </tr>
24      </table>
25       
26       <table>
27          <tr>
28            <th width="150px">Verdict:</th>
29          <td tal:content="student/verdict" />
30          </tr>
31          <tr> 
32            <th>Session:</th><td tal:content="student/session" />
33          </tr>       
34       </table>
35
36       <br />
37                     
38       <table>
39         <span tal:repeat="semester results">
40            <span tal:repeat="result semester">
41             <tr tal:condition="repeat/result/start">
42              <th colspan="5">
43                <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester
44              </th>
45             </tr>
46            <tr>     
47            <td width="80px" tal:content="result/CosCode" />
48            <td tal:content="result/title" />
49            <td width="50px" align="center" tal:content="result/GRADE" />
50          </tr>
51        </span>
52        </span>
53      </table>
54      <br />
55      <div tal:condition="registered">
56        <span tal:condition="python: registered == 'no_student_object'">
57          Your student and member records have not yet been created, please check again later.
58        </span>
59        <font color="red">
60        <span tal:condition="python: registered != 'no_student_object'">
61          You have already set your password, please
62          <a href="" tal:attributes="href string:${context/portal_url}/login_student">login</a>
63          with your Student Id <span tal:replace="registered" />.
64        </span>
65        </font>
66      </div>
67      <form tal:condition="not: registered" action="" method="post"
68            tal:attributes="action string:${context/portal_url}/set_access_data">
69        <input type="hidden" name="name" tal:attributes="value options/name" />
70        <input type="hidden" name="matric_no" tal:attributes="value student/matric_no" />
71        <input type="submit"
72               class="standalone"
73               value="Continue to Login!"
74               name="submit" />
75      </form>
76    </metal:main>
77</metal:body>
78
Note: See TracBrowser for help on using the repository browser.