Changeset 1166 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 31 Dec 2006, 18:11:47 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/display_session_results.py
r1165 r1166 55 55 result['title'] = res[0].title 56 56 else: 57 result['title'] = "T itle no available"57 result['title'] = "To Be Determined" 58 58 if r.Semester == '2': 59 59 sem2.append(result) -
WAeUP_SRP/trunk/skins/waeup_student/session_results_anon_view.pt
r1165 r1166 44 44 <table> 45 45 <span tal:repeat="semester results"> 46 <tr tal:condition="repeat/semester/start">47 <th width="50px">Course</th><th>Title</th><th>Grade</th>48 </tr>49 46 <span tal:repeat="result semester"> 50 47 <tr tal:condition="repeat/result/start"> 51 48 <th colspan="5"> 52 <span tal:replace="python: test(repeat[' result'].index,'Second','First')" /> Semester49 <span tal:replace="python: test(repeat['semester'].index,'Second','First')" /> Semester 53 50 </th> 54 51 </tr> 55 52 <tr> 56 <td tal:content="result/CosCode" /> 57 <td tal:condition="nothing" align="center" tal:content="result/Semester" /> 53 <td width="80px" tal:content="result/CosCode" /> 58 54 <td tal:content="result/title" /> 59 <td align="center" tal:content="result/GRADE" />55 <td width="50px" align="center" tal:content="result/GRADE" /> 60 56 </tr> 61 57 </span>
Note: See TracChangeset for help on using the changeset viewer.