source: WAeUP_SRP/trunk/skins/waeup_student/lecturer_students_list.pt @ 10059

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

implement lecturer module (for demo purposes only)

File size: 2.2 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                  <td><span tal:replace="student/carry_over" /></td>
25                  <td><span tal:replace="student/score" /></td>
26                 
27                  <td tal:condition="student/editable">
28                    <a href="edit" tal:attributes="href string:${student/url}/lecturer_course_edit/${info/course_id}"
29                    target="edit_course_result"
30                    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')">
31                    [edit]
32                    </a>
33                  </td>                   
34                 
35                 
36                </tr>
37            </span>
38          </table>
39        </span>
40      </span>
41  </metal:main>
42</metal:body>
Note: See TracBrowser for help on using the repository browser.