Changeset 1497 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 26 Feb 2007, 15:39:56 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getEntryMode.py
r1458 r1497 1 ## Script (Python) "get Verdict"1 ## Script (Python) "getEntryMode" 2 2 ##bind container=container 3 3 ##bind context=context -
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1468 r1497 100 100 if student_from_cat.verdict: 101 101 verdict_voc = context.portal_vocabularies.verdicts 102 info['verdict'] = verdict_voc.get(student_from_cat.verdict) 102 info['verdict'] = verdict_voc.get(student_from_cat.verdict).upper() 103 103 else: 104 info['verdict'] = 'N/A' 104 info['verdict'] = 'N/A' 105 105 106 106 if student_from_cat.level: -
WAeUP_SRP/trunk/skins/waeup_student/study_course_view.pt
r1494 r1497 21 21 </metal:block> 22 22 <metal:main fill-slot="main"> 23 <span tal:omit-tag="" tal:condition="python:1"24 tal:content="structure python: info['doc'].render(layout_mode='view')" />25 23 <table tal:define="sc python: info['course_doc']"> 24 <tr> 25 <td width="220px">Certificate Code:</td> 26 <td><span tal:content="info/doc/study_course" /></td> 27 </tr> 28 <tr> 29 <td width="220px">Current Study Level:</td> 30 <td><span tal:content="python:context.portal_vocabularies.courselevel.get(info['doc'].current_level)" /></td> 31 </tr> 32 <tr> 33 <td width="220px">Current Verdict:</td> 34 <td><span tal:content="python:context.portal_vocabularies.verdicts.get(info['doc'].current_verdict).upper()" /></td> 35 </tr> 26 36 <tr> 27 37 <td width="220px">Certificate:</td>
Note: See TracChangeset for help on using the changeset viewer.