[2243] | 1 | <metal:block define-macro="default_view" |
---|
| 2 | tal:define="layout options/layout; |
---|
| 3 | dm options/datastructure/getDataModel; |
---|
| 4 | widgets python:context.getRenderedWidgets(layout); |
---|
| 5 | info context/getStudentBaseInfo;" |
---|
| 6 | > |
---|
| 7 | |
---|
| 8 | <tal:block define="cell widgets/passport; |
---|
| 9 | widget cell/widget"> |
---|
| 10 | <img src="img" tal:replace="structure cell/widget_rendered" /> |
---|
| 11 | </tal:block> |
---|
| 12 | |
---|
[2689] | 13 | <br /><br /> |
---|
[2243] | 14 | |
---|
| 15 | <table width="" cellpadding="2" cellspacing="0" summary="Form layout"> |
---|
| 16 | <tr> |
---|
| 17 | <td valign="top" width="180px"><span class="dlabel">Name</span>: |
---|
| 18 | </td> |
---|
| 19 | <td> |
---|
| 20 | <span tal:content="info/student/name" /> |
---|
| 21 | </td> |
---|
| 22 | </tr> |
---|
| 23 | <tr> |
---|
| 24 | <td valign="top" width="180px"><span class="dlabel">Sex</span>: |
---|
| 25 | </td> |
---|
| 26 | <td> |
---|
| 27 | <span tal:content="info/student/sex" /> |
---|
| 28 | </td> |
---|
| 29 | </tr> |
---|
| 30 | <tr valign="top"> |
---|
| 31 | <td><span class="dlabel">Student ID</span>: |
---|
| 32 | </td> |
---|
| 33 | <td> |
---|
| 34 | <span tal:content="info/id" /> |
---|
| 35 | </td> |
---|
| 36 | </tr> |
---|
| 37 | <tr valign="top"> |
---|
| 38 | <td><span class="dlabel">Matriculation No</span>: |
---|
| 39 | </td> |
---|
| 40 | <td> |
---|
| 41 | <span tal:content="info/student/matric_no" /> |
---|
| 42 | </td> |
---|
| 43 | </tr> |
---|
| 44 | <tr valign="top"> |
---|
| 45 | <td><span class="dlabel">Registration No</span>: |
---|
| 46 | </td> |
---|
| 47 | <td> |
---|
| 48 | <span tal:content="info/student/jamb_reg_no" /> |
---|
| 49 | </td> |
---|
| 50 | </tr> |
---|
[3867] | 51 | <tr tal:condition="info/student/email" valign="top"> |
---|
[2243] | 52 | <td><span class="dlabel">Email</span>: |
---|
| 53 | </td> |
---|
| 54 | <td> |
---|
| 55 | <span tal:content="info/student/email" /> |
---|
| 56 | </td> |
---|
[3867] | 57 | </tr> |
---|
| 58 | <tr tal:condition="not: info/student/email" |
---|
| 59 | tal:define="app_info context/getApplicationInfo; |
---|
| 60 | app_email app_info/app_doc/app_email|nothing" valign="top"> |
---|
| 61 | <td><span class="dlabel">Email</span>: |
---|
| 62 | </td> |
---|
| 63 | <td > |
---|
| 64 | <span tal:content="app_email" /> |
---|
| 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | <tr tal:condition="info/student/phone" valign="top"> |
---|
[2243] | 68 | <td><span class="dlabel">Phone</span>: |
---|
| 69 | </td> |
---|
| 70 | <td> |
---|
| 71 | <span tal:content="info/student/phone" /> |
---|
| 72 | </td> |
---|
| 73 | </tr> |
---|
| 74 | <tr valign="top"> |
---|
| 75 | <td><span class="dlabel">Current Session</span>: |
---|
| 76 | </td> |
---|
| 77 | <td> |
---|
| 78 | <span tal:content="python:context.portal_vocabularies.sessions.get(info['student']['session'])" /> |
---|
| 79 | </td> |
---|
| 80 | </tr> |
---|
| 81 | <tr valign="top"> |
---|
| 82 | <td><span class="dlabel">Current Level</span>: |
---|
| 83 | </td> |
---|
| 84 | <td> |
---|
[2944] | 85 | <span tal:content="python:context.portal_vocabularies.student_levels.get(info['student']['level'])" /> |
---|
[2243] | 86 | </td> |
---|
| 87 | </tr> |
---|
[4807] | 88 | <tr valign="top"> |
---|
[5816] | 89 | <td><span class="dlabel">Mode of Entry</span>: |
---|
[4807] | 90 | </td> |
---|
| 91 | <td> |
---|
[5803] | 92 | <span tal:content="python:context.portal_vocabularies.entry_modes.get(info['student']['mode'])" /> |
---|
[4807] | 93 | </td> |
---|
| 94 | </tr> |
---|
[2243] | 95 | </table> |
---|
| 96 | |
---|
| 97 | |
---|
| 98 | |
---|
| 99 | </metal:block> |
---|