Last change
on this file since 540 was
535,
checked in by joachim, 18 years ago
|
student apply admission should work now
the default_view for campus is now home_index.py
for students and student student_index.py
these script redirect to the appropriate PT
|
File size:
1.1 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 | <table tal:define="students python: context.objectValues()"> |
---|
12 | <tr tal:repeat="student students"> |
---|
13 | <td><a href="id" tal:attributes="href string:${student/absolute_url}" |
---|
14 | tal:content="student/getId"></a></td> |
---|
15 | <span tal:omit-tag="" tal:define="info python: context.getStudentInfo(student)"> |
---|
16 | <td><span tal:replace="python: info['per_doc'].lastname" /></td> |
---|
17 | <td><span tal:replace="python: info['app_doc'].jamb_reg_no" /></td> |
---|
18 | <td><span tal:replace="info/review_state" /></td> |
---|
19 | </span> |
---|
20 | </tr> |
---|
21 | </table> |
---|
22 | </span> |
---|
23 | </metal:main> |
---|
24 | </metal:body> |
---|
25 | </metal:html> |
---|
Note: See
TracBrowser for help on using the repository browser.