[1218] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getStudentFolderInfo; |
---|
[1212] | 4 | is_so info/is_sectionofficer|nothing; |
---|
| 5 | is_staff info/is_staff|nothing; |
---|
[1185] | 6 | is_student info/is_student"> |
---|
[655] | 7 | <span tal:condition="not: info"> |
---|
[1096] | 8 | <span tal:content="here/illegal_view" /> |
---|
[655] | 9 | </span> |
---|
| 10 | <span tal:condition="info" |
---|
[656] | 11 | tal:define="review_state info/review_state; |
---|
| 12 | rows python: info['items']"> |
---|
[659] | 13 | |
---|
[911] | 14 | <a href="" tal:condition="is_staff" |
---|
[659] | 15 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 16 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 17 | Up one level |
---|
| 18 | </a> |
---|
[1185] | 19 | <h3 tal:content="info/name" /> |
---|
[655] | 20 | <br /> |
---|
[656] | 21 | |
---|
[911] | 22 | <table tal:condition="is_staff" 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> |
---|
[1139] | 28 | <a tal:condition="python: row['is_editable'] and not row['type'] in ('StudentClearance','StudentAccommodation',)" |
---|
[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> |
---|
[1295] | 41 | |
---|
[656] | 42 | </tr> |
---|
[1295] | 43 | <tr tal:condition="python:info['review_state'] == 'returning'"> |
---|
| 44 | <td> |
---|
| 45 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
| 46 | <strong>Session Results</strong> |
---|
| 47 | </a> |
---|
| 48 | </td> |
---|
| 49 | <td> |
---|
| 50 | |
---|
| 51 | </td> |
---|
| 52 | </tr> |
---|
[656] | 53 | </table> |
---|
[1254] | 54 | |
---|
| 55 | |
---|
[1258] | 56 | <span tal:condition="python:info['member'].id in ('admin','joachim','kehindesamuel','med','isouaba','obadejo',)"> |
---|
[1254] | 57 | <br /> |
---|
| 58 | <form action="mail_password_form" method="post" class="group"> |
---|
[1293] | 59 | <input type="submit" class="context" value="Send Email with Authentication Data" /> |
---|
[1254] | 60 | </form> |
---|
| 61 | </span> |
---|
[659] | 62 | |
---|
[1254] | 63 | |
---|
| 64 | |
---|
| 65 | |
---|
[1132] | 66 | <table tal:condition="is_student" class="contentListing" width="" summary="content layout" id="folder_content"> |
---|
[674] | 67 | <span tal:repeat="row rows"> |
---|
[1132] | 68 | <tr tal:condition="row/display"> |
---|
[674] | 69 | <td><a href="view" tal:condition="row/s_view_link" |
---|
| 70 | tal:attributes="href string:${row/s_view_link}"> |
---|
| 71 | <strong tal:content="row/title" /></a> |
---|
| 72 | <strong tal:condition="not:row/s_view_link" tal:content="row/title" /> |
---|
| 73 | </td> |
---|
[1132] | 74 | |
---|
| 75 | <td width="80px" align="center"> |
---|
[674] | 76 | <a tal:condition="python: row['s_edit_link'] and row['is_editable']" |
---|
| 77 | href="edit" tal:attributes="href string:${row/s_edit_link}"> |
---|
| 78 | [edit] |
---|
[1132] | 79 | </a> |
---|
| 80 | </td> |
---|
| 81 | |
---|
| 82 | <td width="100px" align="left"> |
---|
| 83 | <span tal:content="row/review_state" /> |
---|
[674] | 84 | </td> |
---|
| 85 | </tr> |
---|
| 86 | </span> |
---|
[1295] | 87 | <tr tal:condition="python:info['review_state'] == 'returning'"> |
---|
| 88 | <td> |
---|
| 89 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
| 90 | <strong>Session Results</strong> |
---|
| 91 | </a> |
---|
| 92 | </td> |
---|
| 93 | <td> |
---|
| 94 | |
---|
| 95 | </td> |
---|
| 96 | </tr> |
---|
[674] | 97 | </table> |
---|
[656] | 98 | |
---|
[1295] | 99 | </span> |
---|
[655] | 100 | </metal:main> |
---|
[1218] | 101 | </metal:body> |
---|