[7999] | 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 | |
---|
| 13 | <br /><br /> |
---|
| 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> |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | <tr valign="top"> |
---|
| 54 | <td><span class="dlabel">Current Session</span>: |
---|
| 55 | </td> |
---|
| 56 | <td> |
---|
| 57 | <span tal:content="python:context.portal_vocabularies.sessions.get(info['student']['session'])" /> |
---|
| 58 | </td> |
---|
| 59 | </tr> |
---|
| 60 | <tr valign="top"> |
---|
| 61 | <td><span class="dlabel">Current Level</span>: |
---|
| 62 | </td> |
---|
| 63 | <td> |
---|
| 64 | <span tal:content="python:context.portal_vocabularies.student_levels.get(info['student']['level'])" /> |
---|
| 65 | </td> |
---|
| 66 | </tr> |
---|
| 67 | <tr valign="top"> |
---|
| 68 | <td><span class="dlabel">Mode of Entry</span>: |
---|
| 69 | </td> |
---|
| 70 | <td> |
---|
| 71 | <span tal:content="python:context.portal_vocabularies.entry_modes.get(info['student']['mode'])" /> |
---|
| 72 | </td> |
---|
| 73 | </tr> |
---|
| 74 | </table> |
---|
| 75 | |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | </metal:block> |
---|