source: WAeUP_SRP/base/skins/waeup_student/session_results_anon_view.pt @ 2538

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

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

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