Last change
on this file since 562 was
543,
checked in by Henrik Bettermann, 18 years ago
|
reorganisation part 2
themes modification will follow
|
File size:
1.2 KB
|
Line | |
---|
1 | <metal:html tal:define="info context/getStudentInfo"> |
---|
2 | |
---|
3 | <metal:body use-macro="here/main_template/macros/master"> |
---|
4 | |
---|
5 | <metal:main fill-slot="main" |
---|
6 | tal:define="isManager python:'Manager' in member.getRoles() or 'SectionManager' in member.getRoles()"> |
---|
7 | <span tal:condition="not: isManager"> |
---|
8 | <metal:block use-macro="here/error_not_found/macros/not_found" /> |
---|
9 | </span> |
---|
10 | <span tal:condition="isManager"> |
---|
11 | <h3>All Students</h3> |
---|
12 | <br /> |
---|
13 | <table tal:define="students python: context.objectValues()"> |
---|
14 | <tr tal:repeat="student students"> |
---|
15 | <td><a href="id" tal:attributes="href string:${student/absolute_url}" |
---|
16 | tal:content="student/getId"></a></td> |
---|
17 | <span tal:omit-tag="" tal:define="info python: context.getStudentInfo(student)"> |
---|
18 | <td><span tal:replace="python: info['per_doc'].lastname" /></td> |
---|
19 | <td><span tal:replace="python: info['app_doc'].jamb_reg_no" /></td> |
---|
20 | <td><span tal:replace="info/review_state" /></td> |
---|
21 | </span> |
---|
22 | </tr> |
---|
23 | </table> |
---|
24 | </span> |
---|
25 | </metal:main> |
---|
26 | </metal:body> |
---|
27 | </metal:html> |
---|
Note: See
TracBrowser for help on using the repository browser.