Changeset 2730 for WAeUP_SRP/base/skins
- Timestamp:
- 21 Nov 2007, 15:51:18 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getStudentFolderInfo.py
r2477 r2730 66 66 info['session'] = True 67 67 68 info['base_info'] = context.getFormattedStudentEntry(st_brain) 68 69 69 70 info['id'] = student_id -
WAeUP_SRP/base/skins/waeup_student/student_view.pt
r2680 r2730 2 2 <metal:main fill-slot="main" 3 3 tal:define="info context/getStudentFolderInfo; 4 baseinfo context/getStudentBaseInfo"4 baseinfo info/base_info" 5 5 > 6 6 <metal:block tal:condition="not: info"> … … 24 24 <tr> 25 25 <td width="220px">Registration Number:</td> 26 <td><span tal:content="baseinfo/ student/jamb_reg_no" /></td>26 <td><span tal:content="baseinfo/jamb_reg_no" /></td> 27 27 </tr> 28 28 <tr> 29 29 <td>Matriculation Number:</td> 30 <td><span tal:content="baseinfo/ student/matric_no" /></td>30 <td><span tal:content="baseinfo/matric_no" /></td> 31 31 </tr> 32 32 <tr> 33 33 <td>Certificate Code:</td> 34 <td><span tal:content="baseinfo/ student/course" /></td>34 <td><span tal:content="baseinfo/course" /></td> 35 35 </tr> 36 36 <tr> 37 37 <td>Faculty Id:</td> 38 <td tal:content="baseinfo/ student/faculty" />38 <td tal:content="baseinfo/faculty" /> 39 39 </tr> 40 40 <tr> 41 41 <td>Department Id:</td> 42 <td><span tal:content="baseinfo/ student/department" /></td>42 <td><span tal:content="baseinfo/department" /></td> 43 43 </tr> 44 44 <tr> 45 45 <td>Current Session:</td> 46 <td><span tal:content="python:context.portal_vocabularies.sessions.get(baseinfo['s tudent']['session'])" /></td>46 <td><span tal:content="python:context.portal_vocabularies.sessions.get(baseinfo['session'])" /></td> 47 47 </tr> 48 48 <tr> 49 49 <td>Current Study Level:</td> 50 <td><span tal:content="python:context.portal_vocabularies.student_levels.get(baseinfo[' student']['level'])" /></td>50 <td><span tal:content="python:context.portal_vocabularies.student_levels.get(baseinfo['level'])" /></td> 51 51 </tr> 52 52 <tr> 53 53 <td>Current Study Mode:</td> 54 <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(baseinfo[' student']['mode'])" /></td>54 <td><span tal:content="python:context.portal_vocabularies.entry_modes.get(baseinfo['mode'])" /></td> 55 55 </tr> 56 <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo[' student']['verdict'])">56 <tr tal:define="verdict python:context.portal_vocabularies.verdicts.get(baseinfo['verdict'])"> 57 57 <td>Current Verdict:</td> 58 58 <td><span tal:condition="verdict" tal:content="python:verdict.upper()" /></td>
Note: See TracChangeset for help on using the changeset viewer.