source: WAeUP_SRP/trunk/skins/waeup_ois/lecturer_students_list.pt @ 8205

Last change on this file since 8205 was 4033, checked in by Henrik Bettermann, 16 years ago

improve security level for lecturers

File size: 1.9 KB
Line 
1<metal:body use-macro="here/main_template/macros/master">
2  <metal:main fill-slot="main"
3              tal:define="info options/info;
4                          students info/students;">
5      <h3>Registered Students of Course <span tal:replace="info/course_id"/></h3><br />
6      <span tal:condition="students">
7        <span tal:define="items students">
8          <table class="contentListing" width="100%">
9
10             <span tal:repeat="student students">
11                <tr tal:condition="student"
12                    tal:attributes="class python:test(repeat['student'].even(), 'even ajaxtd', 'odd ajaxtd')">
13                  <td><a href="id" tal:attributes="href string:${context/portal_url}/campus/students/${student/student_id}"
14                         tal:content="student/student_id"></a></td>   
15                  <td>
16                    <span tal:replace="student/student_record/name" />
17                  </td>                           
18                  <td><span tal:replace="student/student_record/matric_no" /></td>   
19                  <td><span tal:replace="student/student_record/review_state" /></td>
20                  <td><span tal:replace="student/session_string" /></td>
21                  <td><span tal:replace="student/level_string" /></td>
22                 
23                  <td tal:condition="student/editable">
24                    <a href="edit" tal:attributes="href string:${student/url}/lecturer_course_edit/${info/course_id}"
25                    target="edit_course_result"
26                    onclick="javascript:window.open('','edit_course_result','width=600, height=500, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')">
27                    [edit]
28                    </a>
29                  </td>                   
30                 
31                 
32                </tr>
33            </span>
34          </table>
35        </span>
36      </span>
37  </metal:main>
38</metal:body>
Note: See TracBrowser for help on using the repository browser.