Changeset 1429 for WAeUP_SRP/trunk/skins
- Timestamp:
- 17 Feb 2007, 10:48:28 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getSessionResults.py
r1417 r1429 95 95 gpa = float(gpa) / course_count 96 96 gpa = "%4.2f" % gpa 97 98 # not available at the beginning 99 #if student_from_cat.sex: 100 # info['sex'] = 'F' 101 #else: 102 # info['sex'] = 'M' 103 #info['level'] = int(student_from_cat.level)-100 97 98 if student_from_cat.level: 99 if student_from_cat.sex: 100 info['sex'] = 'F' 101 else: 102 info['sex'] = 'M' 103 info['level'] = int(student_from_cat.level)-100 104 else: 105 info['sex'] = 'na' 106 info['level'] = 'na' 104 107 105 108 info['verdict'] = verdict -
WAeUP_SRP/trunk/skins/waeup_student/session_results_slip.pt
r1413 r1429 24 24 </tr> 25 25 <tr> 26 <th>Sex:</th><td tal:content="info/s tudent_from_returning/Sex" />26 <th>Sex:</th><td tal:content="info/sex" /> 27 27 </tr> 28 28 <tr> … … 30 30 </tr> 31 31 <tr> 32 <th>Level:</th><td tal:content="info/ student_from_returning/Level" />32 <th>Level:</th><td tal:content="info/level" /> 33 33 </tr> 34 34 </table> -
WAeUP_SRP/trunk/skins/waeup_student/session_results_view.pt
r1413 r1429 24 24 </tr> 25 25 <tr> 26 <th>Sex:</th><td tal:content="info/s tudent_from_returning/Sex" />26 <th>Sex:</th><td tal:content="info/sex" /> 27 27 </tr> 28 28 <tr> … … 30 30 </tr> 31 31 <tr> 32 <th>Level:</th><td tal:content="info/ student_from_returning/Level" />32 <th>Level:</th><td tal:content="info/level" /> 33 33 </tr> 34 34 </table>
Note: See TracChangeset for help on using the changeset viewer.