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

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

lecturer_course_edit.py: resolve ticket Schools #2, member_id must be identical with lecturer_id of course

customize getLecturerCourseResults.py and lecturer_students_list.pt

File size: 2.1 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/session" /></td>
20                  <td><span tal:replace="student/student_record/level" /></td>
21                  <td><span tal:replace="student/student_record/review_state" /></td>
22                  <td><span tal:replace="student/session_id" /></td>
23                  <td><span tal:replace="student/level_id" /></td>
24                 
25                  <td tal:condition="student/editable">
26                    <a href="edit" tal:attributes="href string:${student/url}/lecturer_course_edit/${info/course_id}"
27                    target="edit_course_result"
28                    onclick="javascript:window.open('','edit_course_result','width=600, height=350, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')">
29                    [edit]
30                    </a>
31                  </td>                   
32                 
33                 
34                </tr>
35            </span>
36          </table>
37        </span>
38      </span>
39  </metal:main>
40</metal:body>
Note: See TracBrowser for help on using the repository browser.