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 /> |
---|
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 | <tr valign="top"> |
---|
52 | <td><span class="dlabel">Email</span>: |
---|
53 | </td> |
---|
54 | <td> |
---|
55 | <span tal:content="info/student/email" /> |
---|
56 | </td> |
---|
57 | </tr> |
---|
58 | <tr valign="top"> |
---|
59 | <td><span class="dlabel">Phone</span>: |
---|
60 | </td> |
---|
61 | <td> |
---|
62 | <span tal:content="info/student/phone" /> |
---|
63 | </td> |
---|
64 | </tr> |
---|
65 | <tr valign="top"> |
---|
66 | <td><span class="dlabel">Current Session</span>: |
---|
67 | </td> |
---|
68 | <td> |
---|
69 | <span tal:content="python:context.portal_vocabularies.sessions.get(info['student']['session'])" /> |
---|
70 | </td> |
---|
71 | </tr> |
---|
72 | <tr valign="top"> |
---|
73 | <td><span class="dlabel">Current Level</span>: |
---|
74 | </td> |
---|
75 | <td> |
---|
76 | <span tal:content="python:context.portal_vocabularies.courselevel.get(info['student']['level'])" /> |
---|
77 | </td> |
---|
78 | </tr> |
---|
79 | </table> |
---|
80 | |
---|
81 | |
---|
82 | |
---|
83 | </metal:block> |
---|