[656] | 1 | <metal:html tal:define="info context/getStudentInfo; |
---|
[659] | 2 | is_manager info/is_manager|nothing; |
---|
| 3 | is_student info/is_student|nothing"> |
---|
[655] | 4 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 5 | <metal:main fill-slot="main"> |
---|
| 6 | <span tal:condition="not: info"> |
---|
| 7 | <metal:block use-macro="here/error_not_found/macros/not_found" /> |
---|
| 8 | </span> |
---|
| 9 | <span tal:condition="info" |
---|
[656] | 10 | tal:define="review_state info/review_state; |
---|
| 11 | rows python: info['items']"> |
---|
[659] | 12 | |
---|
| 13 | <a href="" tal:condition="is_manager" |
---|
| 14 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 15 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 16 | Up one level |
---|
| 17 | </a> |
---|
[655] | 18 | |
---|
[659] | 19 | <h3 tal:content="info/student/Title" /> |
---|
[655] | 20 | <br /> |
---|
[656] | 21 | |
---|
[659] | 22 | <table tal:condition="is_manager" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[656] | 23 | <tr tal:repeat="row rows" |
---|
| 24 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[748] | 25 | <td><a href="view" tal:attributes="href string:${row/url}"> |
---|
[656] | 26 | <strong tal:content="row/title" /></a> </td> |
---|
| 27 | <td> |
---|
[895] | 28 | <a tal:condition="python: row['is_editable'] and row['type']!='StudentClearance'" |
---|
[656] | 29 | href="edit" tal:attributes="href string:${row/url}/external_edit_form" |
---|
| 30 | target="edit" |
---|
| 31 | onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
| 32 | [edit] |
---|
| 33 | </a> |
---|
[895] | 34 | <a tal:condition="python: row['is_editable'] and row['type']=='StudentClearance'" |
---|
| 35 | href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" |
---|
| 36 | target="edit" |
---|
| 37 | onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
| 38 | [edit and change state] |
---|
| 39 | </a> |
---|
[656] | 40 | </td> |
---|
| 41 | </tr> |
---|
| 42 | </table> |
---|
[659] | 43 | |
---|
[674] | 44 | <table tal:condition="is_student" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
| 45 | <span tal:repeat="row rows"> |
---|
| 46 | <tr tal:condition="row/display" |
---|
[659] | 47 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[674] | 48 | <td><a href="view" tal:condition="row/s_view_link" |
---|
| 49 | tal:attributes="href string:${row/s_view_link}"> |
---|
| 50 | <strong tal:content="row/title" /></a> |
---|
| 51 | <strong tal:condition="not:row/s_view_link" tal:content="row/title" /> |
---|
| 52 | </td> |
---|
| 53 | <td> |
---|
| 54 | <a tal:condition="python: row['s_edit_link'] and row['is_editable']" |
---|
| 55 | href="edit" tal:attributes="href string:${row/s_edit_link}"> |
---|
| 56 | [edit] |
---|
[659] | 57 | </a> |
---|
[674] | 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | </span> |
---|
| 61 | </table> |
---|
[659] | 62 | |
---|
[656] | 63 | |
---|
[655] | 64 | </span> |
---|
| 65 | </metal:main> |
---|
| 66 | </metal:body> |
---|
| 67 | </metal:html> |
---|