[1218] | 1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
[2640] | 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getStudentFolderInfo; |
---|
[2961] | 4 | baseinfo info/base_info|nothing" |
---|
[2640] | 5 | > |
---|
| 6 | <metal:block tal:condition="not: info"> |
---|
| 7 | <span tal:content="here/illegal_view" /> |
---|
| 8 | </metal:block> |
---|
| 9 | <metal:block tal:condition="info"> |
---|
[1737] | 10 | <metal:block tal:define="review_state info/review_state; |
---|
[2640] | 11 | rows python: info['items']; |
---|
| 12 | is_so info/is_sectionofficer|nothing; |
---|
| 13 | is_staff info/is_staff|nothing; |
---|
| 14 | is_student info/is_student" |
---|
| 15 | > |
---|
| 16 | <a href="" tal:condition="is_staff" |
---|
| 17 | tal:attributes="href string:${here/academicsParent}"> |
---|
| 18 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 19 | Up one level |
---|
| 20 | </a> |
---|
[1185] | 21 | <h3 tal:content="info/name" /> |
---|
[655] | 22 | <br /> |
---|
[2640] | 23 | <table> |
---|
| 24 | <tr> |
---|
| 25 | <td width="220px">Registration Number:</td> |
---|
[2730] | 26 | <td><span tal:content="baseinfo/jamb_reg_no" /></td> |
---|
[2640] | 27 | </tr> |
---|
| 28 | <tr> |
---|
| 29 | <td>Matriculation Number:</td> |
---|
[2730] | 30 | <td><span tal:content="baseinfo/matric_no" /></td> |
---|
[2640] | 31 | </tr> |
---|
| 32 | <tr> |
---|
| 33 | <td>Certificate Code:</td> |
---|
[2730] | 34 | <td><span tal:content="baseinfo/course" /></td> |
---|
[2640] | 35 | </tr> |
---|
| 36 | <tr> |
---|
| 37 | <td>Faculty Id:</td> |
---|
[2730] | 38 | <td tal:content="baseinfo/faculty" /> |
---|
[2640] | 39 | </tr> |
---|
| 40 | <tr> |
---|
| 41 | <td>Department Id:</td> |
---|
[2730] | 42 | <td><span tal:content="baseinfo/department" /></td> |
---|
[2640] | 43 | </tr> |
---|
| 44 | <tr> |
---|
| 45 | <td>Current Session:</td> |
---|
[2730] | 46 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(baseinfo['session'])" /></td> |
---|
[2640] | 47 | </tr> |
---|
| 48 | <tr> |
---|
| 49 | <td>Current Study Level:</td> |
---|
[2730] | 50 | <td><span tal:content="python:context.portal_vocabularies.student_levels.get(baseinfo['level'])" /></td> |
---|
[2640] | 51 | </tr> |
---|
| 52 | <tr> |
---|
| 53 | <td>Current Study Mode:</td> |
---|
[2730] | 54 | <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(baseinfo['mode'])" /></td> |
---|
[2640] | 55 | </tr> |
---|
[2730] | 56 | <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo['verdict'])"> |
---|
[2640] | 57 | <td>Current Verdict:</td> |
---|
| 58 | <td><span tal:condition="verdict" tal:content="python:verdict.upper()" /></td> |
---|
| 59 | </tr> |
---|
| 60 | </table> |
---|
| 61 | <br /> |
---|
| 62 | <table tal:condition="is_staff" class="contentListing" width="100%" summary="content layout" id="folder_content"> |
---|
| 63 | <span tal:repeat="row rows"> |
---|
| 64 | <tr tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 65 | <td><a href="view" tal:attributes="href string:${row/url}"> |
---|
| 66 | <strong tal:content="row/title" /></a> </td> |
---|
| 67 | <td> |
---|
| 68 | <a tal:condition="python: row['is_editable'] and not row['type'] in ('StudentClearance','StudentAccommodation','PaymentsFolder')" |
---|
| 69 | href="edit" tal:attributes="href string:${row/url}/external_edit_form" |
---|
| 70 | target="edit" |
---|
| 71 | 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')"> |
---|
| 72 | [edit] |
---|
| 73 | </a> |
---|
| 74 | <a tal:condition="python: row['is_editable'] and row['type']=='StudentClearance'" |
---|
| 75 | href="edit" tal:attributes="href string:${row/url}/external_clearance_edit_form" |
---|
| 76 | target="edit" |
---|
[3692] | 77 | onclick="javascript:window.open('','edit','width=700, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
[2640] | 78 | [edit and change state] |
---|
| 79 | </a> |
---|
| 80 | <a tal:condition="python: context.isClearanceOfficer() 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 | [change state] |
---|
| 85 | </a> |
---|
| 86 | </td> |
---|
| 87 | </tr> |
---|
| 88 | </span> |
---|
| 89 | <tr tal:condition="info/session"> |
---|
| 90 | <td> |
---|
[1984] | 91 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
[2660] | 92 | <strong>Session Results 2005/2006</strong> |
---|
[2640] | 93 | </a> |
---|
[656] | 94 | </td> |
---|
[2640] | 95 | <td> |
---|
| 96 | |
---|
| 97 | </td> |
---|
| 98 | </tr> |
---|
| 99 | </table> |
---|
| 100 | <form action="mail_password_form" method="post" class="group" |
---|
| 101 | tal:condition="is_staff" |
---|
| 102 | tal:attributes="action string:${context/absolute_url}/mail_password_form"> |
---|
| 103 | <br /> |
---|
| 104 | <input type="submit" class="context" value="Send Email with Authentication Data" /> |
---|
| 105 | </form> |
---|
[2961] | 106 | |
---|
| 107 | |
---|
| 108 | |
---|
| 109 | |
---|
| 110 | <form action="" method="post" class="group" |
---|
| 111 | tal:condition="info/transition_return_allowed" |
---|
| 112 | tal:attributes="action string:${context/absolute_url}/changeRegState"> |
---|
[3868] | 113 | <input type="submit" class="context" value="Transfer to returning" /> |
---|
[2961] | 114 | <input type="hidden" name="transition" |
---|
| 115 | tal:attributes="value string:return" |
---|
| 116 | /> <br /><br /> |
---|
| 117 | <font color='red'>Attention: This low-level method does not change the study course and/or payment objects! They must be edited separately.</font> |
---|
| 118 | </form> |
---|
| 119 | |
---|
| 120 | <form action="" method="post" class="group" |
---|
| 121 | tal:condition="info/transition_pay_school_fee_allowed" |
---|
| 122 | tal:attributes="action string:${context/absolute_url}/changeRegState"> |
---|
[3868] | 123 | <input type="submit" class="context" value="Transfer to school_fee_paid" /> |
---|
[2961] | 124 | <input type="hidden" name="transition" |
---|
| 125 | tal:attributes="value string:pay_school_fee" |
---|
| 126 | /> <br /><br /> |
---|
| 127 | <font color='red'>Attention: This low-level method does not change the study course and/or payment objects! They must be edited separately.</font> |
---|
| 128 | </form> |
---|
[3747] | 129 | |
---|
| 130 | <form action="" method="post" class="group" |
---|
| 131 | tal:condition="info/transition_admit_allowed" |
---|
| 132 | tal:attributes="action string:${context/absolute_url}/changeRegState"> |
---|
[3868] | 133 | <input type="submit" class="context" value="Transfer to admitted" /> |
---|
[3747] | 134 | <input type="hidden" name="transition" |
---|
| 135 | tal:attributes="value string:admit" |
---|
| 136 | /> <br /><br /> |
---|
| 137 | <font color='red'>Attention: This low-level method does not change the study course and/or payment objects! They must be edited separately.</font> |
---|
| 138 | </form> |
---|
[2961] | 139 | |
---|
| 140 | |
---|
| 141 | |
---|
| 142 | |
---|
[2640] | 143 | <div tal:condition="python:info['review_state']=='deactivated'"> |
---|
| 144 | <font color="red">This student record has been deactivated!</font> |
---|
| 145 | </div> |
---|
| 146 | <table tal:condition="python:is_student and info['review_state']!='deactivated'" class="contentListing" width="" summary="content layout" id="folder_content"> |
---|
| 147 | <span tal:repeat="row rows"> |
---|
| 148 | <tr tal:condition="row/display"> |
---|
| 149 | <td width="220px"><a href="view" tal:condition="row/s_view_link" |
---|
| 150 | tal:attributes="href string:${row/s_view_link}"> |
---|
| 151 | <strong tal:content="row/title" /></a> |
---|
| 152 | <strong tal:condition="not:row/s_view_link" tal:content="row/title" /> |
---|
| 153 | </td> |
---|
| 154 | <td align="left"> |
---|
[1984] | 155 | <span tal:content="row/review_state" /> |
---|
[2640] | 156 | </td> |
---|
[4305] | 157 | <td width="40px" style='text-align:center'> |
---|
[2640] | 158 | <a tal:condition="python: row['s_edit_link'] and row['is_editable']" |
---|
| 159 | href="edit" tal:attributes="href string:${row/s_edit_link}"> |
---|
| 160 | [edit] |
---|
| 161 | </a> |
---|
| 162 | </td> |
---|
| 163 | </tr> |
---|
| 164 | </span> |
---|
| 165 | <tr tal:condition="info/session"> |
---|
| 166 | <td> |
---|
| 167 | <a href="edit" tal:attributes="href string:session_results_view"> |
---|
[3972] | 168 | <strong>(Session Results 2005/2006)</strong> |
---|
[2640] | 169 | </a> |
---|
| 170 | </td> |
---|
| 171 | <td> |
---|
| 172 | |
---|
| 173 | </td> |
---|
[656] | 174 | </tr> |
---|
[2640] | 175 | </table> |
---|
| 176 | </metal:block> |
---|
[1737] | 177 | </metal:block> |
---|
[2640] | 178 | </metal:main> |
---|
[1218] | 179 | </metal:body> |
---|