[1218] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
[1984] | 3 | tal:define="info context/getStudentFolderInfo; |
---|
| 4 | baseinfo context/getStudentBaseInfo"> |
---|
[1737] | 5 | <metal:block tal:condition="not: info"> |
---|
[1096] | 6 | <span tal:content="here/illegal_view" /> |
---|
[1737] | 7 | </metal:block> |
---|
| 8 | <metal:block tal:condition="info"> |
---|
| 9 | <metal:block tal:define="review_state info/review_state; |
---|
| 10 | rows python: info['items']; |
---|
| 11 | is_so info/is_sectionofficer|nothing; |
---|
| 12 | is_staff info/is_staff|nothing; |
---|
| 13 | is_student info/is_student"> |
---|
[659] | 14 | |
---|
[911] | 15 | <a href="" tal:condition="is_staff" |
---|
[659] | 16 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 17 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 18 | Up one level |
---|
| 19 | </a> |
---|
[1185] | 20 | <h3 tal:content="info/name" /> |
---|
[655] | 21 | <br /> |
---|
[1984] | 22 | |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | <table> |
---|
| 26 | <tr> |
---|
| 27 | <td width="220px">Registration Number:</td> |
---|
| 28 | <td><span tal:content="baseinfo/student/jamb_reg_no" /></td> |
---|
| 29 | </tr> |
---|
| 30 | <tr> |
---|
| 31 | <td>Matriculation Number:</td> |
---|
| 32 | <td><span tal:content="baseinfo/student/matric_no" /></td> |
---|
| 33 | </tr> |
---|
| 34 | <tr> |
---|
| 35 | <td>Certificate Code:</td> |
---|
| 36 | <td><span tal:content="baseinfo/student/course" /></td> |
---|
| 37 | </tr> |
---|
| 38 | <tr> |
---|
| 39 | <td>Faculty Id:</td> |
---|
| 40 | <td tal:content="baseinfo/student/faculty" /> |
---|
| 41 | </tr> |
---|
| 42 | <tr> |
---|
| 43 | <td>Department Id:</td> |
---|
| 44 | <td><span tal:content="baseinfo/student/department" /></td> |
---|
| 45 | </tr> |
---|
| 46 | <tr> |
---|
| 47 | <td>Current Session:</td> |
---|
| 48 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(baseinfo['student']['session'])" /></td> |
---|
| 49 | </tr> |
---|
| 50 | <tr> |
---|
| 51 | <td>Current Study Level:</td> |
---|
[1989] | 52 | <td><span tal:content="python:context.portal_vocabularies.levels.get(baseinfo['student']['level'])" /></td> |
---|
[1984] | 53 | </tr> |
---|
| 54 | <tr> |
---|
| 55 | <td>Current Study Mode:</td> |
---|
| 56 | <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(baseinfo['student']['mode'])" /></td> |
---|
| 57 | </tr> |
---|
[1985] | 58 | <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo['student']['verdict'])"> |
---|
[1984] | 59 | <td>Current Verdict:</td> |
---|
[1985] | 60 | <td><span tal:condition="verdict" tal:content="python:verdict.upper()" /></td> |
---|
[1984] | 61 | </tr> |
---|
| 62 | </table> |
---|
| 63 | |
---|
| 64 | <br /> |
---|
| 65 | |
---|
| 66 | <table tal:condition="is_staff" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
[2408] | 67 | |
---|
| 68 | <span tal:repeat="row rows"> |
---|
| 69 | <tr tal:condition="python:row['type'] != 'StudentPume'" |
---|
| 70 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
[1984] | 71 | <td><a href="view" tal:attributes="href string:${row/url}"> |
---|
| 72 | <strong tal:content="row/title" /></a> </td> |
---|
| 73 | <td> |
---|
| 74 | <a tal:condition="python: row['is_editable'] and not row['type'] in ('StudentClearance','StudentAccommodation','PaymentsFolder')" |
---|
| 75 | href="edit" tal:attributes="href string:${row/url}/external_edit_form" |
---|
| 76 | target="edit" |
---|
| 77 | 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')"> |
---|
| 78 | [edit] |
---|
| 79 | </a> |
---|
| 80 | <a tal:condition="python: row['is_editable'] and row['type']=='StudentClearance'" |
---|
| 81 | href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" |
---|
| 82 | target="edit" |
---|
| 83 | 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')"> |
---|
| 84 | [edit and change state] |
---|
| 85 | </a> |
---|
| 86 | <a tal:condition="python: context.isClearanceOfficer() and row['type']=='StudentClearance'" |
---|
| 87 | href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" |
---|
| 88 | target="edit" |
---|
| 89 | 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')"> |
---|
| 90 | [change state] |
---|
| 91 | </a> |
---|
| 92 | </td> |
---|
| 93 | |
---|
| 94 | </tr> |
---|
[2408] | 95 | </span> |
---|
[1984] | 96 | <tr tal:condition="info/session"> |
---|
| 97 | <td> |
---|
| 98 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
| 99 | <strong>Session Results</strong> |
---|
| 100 | </a> |
---|
| 101 | </td> |
---|
| 102 | <td> |
---|
| 103 | |
---|
| 104 | </td> |
---|
| 105 | </tr> |
---|
| 106 | </table> |
---|
| 107 | |
---|
| 108 | |
---|
[2347] | 109 | |
---|
[2059] | 110 | <form action="mail_password_form" method="post" class="group" |
---|
[2347] | 111 | tal:condition="is_staff" |
---|
[2059] | 112 | tal:attributes="action string:${context/absolute_url}/mail_password_form"> |
---|
[2347] | 113 | <br /> |
---|
[1984] | 114 | <input type="submit" class="context" value="Send Email with Authentication Data" /> |
---|
| 115 | </form> |
---|
[656] | 116 | |
---|
[1984] | 117 | |
---|
[2496] | 118 | <div tal:condition="python:info['review_state']=='deactivated'"> |
---|
| 119 | <font color="red">This student record has been deactivated!</font> |
---|
| 120 | </div> |
---|
[1984] | 121 | |
---|
| 122 | |
---|
[2496] | 123 | <table tal:condition="python:is_student and info['review_state']!='deactivated'" class="contentListing" width="" summary="content layout" id="folder_content"> |
---|
[1984] | 124 | <span tal:repeat="row rows"> |
---|
| 125 | <tr tal:condition="row/display"> |
---|
| 126 | <td width="220px"><a href="view" tal:condition="row/s_view_link" |
---|
| 127 | tal:attributes="href string:${row/s_view_link}"> |
---|
| 128 | <strong tal:content="row/title" /></a> |
---|
| 129 | <strong tal:condition="not:row/s_view_link" tal:content="row/title" /> |
---|
[656] | 130 | </td> |
---|
[1984] | 131 | |
---|
| 132 | <td align="left"> |
---|
| 133 | <span tal:content="row/review_state" /> |
---|
| 134 | </td> |
---|
[1295] | 135 | |
---|
[1984] | 136 | <td width="40px" align="center"> |
---|
| 137 | <a tal:condition="python: row['s_edit_link'] and row['is_editable']" |
---|
| 138 | href="edit" tal:attributes="href string:${row/s_edit_link}"> |
---|
| 139 | [edit] |
---|
| 140 | </a> |
---|
| 141 | </td> |
---|
| 142 | |
---|
| 143 | |
---|
[656] | 144 | </tr> |
---|
[1984] | 145 | </span> |
---|
| 146 | <tr tal:condition="info/session"> |
---|
| 147 | <td> |
---|
| 148 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
| 149 | <strong>Session Results</strong> |
---|
| 150 | </a> |
---|
[674] | 151 | </td> |
---|
[1984] | 152 | <td> |
---|
| 153 | |
---|
[674] | 154 | </td> |
---|
| 155 | </tr> |
---|
[1984] | 156 | </table> |
---|
[2496] | 157 | |
---|
| 158 | |
---|
[1737] | 159 | </metal:block> |
---|
| 160 | </metal:block> |
---|
[655] | 161 | </metal:main> |
---|
[1218] | 162 | </metal:body> |
---|