Changeset 3103
- Timestamp:
- 4 Feb 2008, 14:19:06 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/study_level_view.pt
r2956 r3103 9 9 <span tal:condition="info"> 10 10 <span tal:define= "is_so context/isSectionOfficer; 11 is_ca info/is_ca; 12 show_check_boxes info/show_check_boxes; 13 has_verdict info/has_verdict; 14 submission_allowed info/submission_allowed; 15 rejection_allowed info/rejection_allowed; 16 is_current_level info/is_current_level; 17 is_student info/is_student; 18 "> 11 is_ca info/is_ca; 12 show_check_boxes info/show_check_boxes; 13 has_verdict info/has_verdict; 14 submission_allowed info/submission_allowed; 15 rejection_allowed info/rejection_allowed; 16 is_current_level info/is_current_level; 17 is_student info/is_student; 18 with_score not: info/without_score|nothing; 19 "> 19 20 <div style="text-align: right" 20 21 tal:condition="rejection_allowed"> … … 83 84 <th align='center'>sm</th> 84 85 <th align='center'>cr</th> 85 <th align='center'>sc</th>86 <th tal:condition="with_score" align='center'>sc</th> 86 87 <th align='center'>gr</th> 87 88 <th align='center'>wt</th> … … 107 108 <td align="center" width="2%"><span tal:content="row/semester" /></td> 108 109 <td align="center" width="2%" tal:content="row/credits"></td> 109 <td align="center" width="4%" tal:content="row/score"></td>110 <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td> 110 111 <td align="center" width="2%" tal:content="row/grade"></td> 111 112 <td align="center" width="2%" tal:content="row/weight"></td> … … 137 138 <th align='center'>sm</th> 138 139 <th align='center'>cr</th> 139 <th align='center'>sc</th>140 <th tal:condition="with_score" align='center'>sc</th> 140 141 <th align='center'>gr</th> 141 142 <th align='center'>wt</th> … … 159 160 <td align="center" width="2%"><span tal:content="row/semester" /></td> 160 161 <td align="center" width="2%" tal:content="row/credits"></td> 161 <td align="center" width="4%" tal:content="row/score"></td>162 <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td> 162 163 <td align="center" width="2%" tal:content="row/grade"></td> 163 164 <td align="center" width="2%" tal:content="row/weight"></td> … … 191 192 <td align="center" width="2%"><span tal:content="row/semester" /></td> 192 193 <td align="center" width="2%" tal:content="row/credits"></td> 193 <td align="center" width="4%" tal:content="row/score"></td>194 <td tal:condition="with_score" align="center" width="4%" tal:content="row/score"></td> 194 195 <td align="center" width="2%" tal:content="row/grade"></td> 195 196 <td align="center" width="2%" tal:content="row/weight"></td> … … 212 213 <tr><th>sm:</th> <td>Semester</td></tr> 213 214 <tr><th>cr:</th> <td>Credits</td></tr> 214 <tr ><th>sc:</th> <td>Score</td></tr>215 <tr tal:condition="with_score"><th>sc:</th> <td>Score</td></tr> 215 216 <tr><th>gr: </th> <td>Grade</td></tr> 216 217 <tr><th>wt: </th> <td>Weight</td></tr> -
WAeUP_SRP/uniben/waeup_custom/getStudyLevelInfo.py
r3101 r3103 100 100 info['carry_overs'] = carry_overs 101 101 # normal.sort(cmp_semester_id) 102 info['without_score'] = without_score = True 103 if without_score: 104 for rows in (normal1,normal2,normal3): 105 for row in rows: 106 row['score'] = 0 107 102 108 info['normal1'] = normal1 103 109 info['normal2'] = normal2 … … 111 117 info['app'] = student.application 112 118 info['app_doc'] = student.application.getContent() 113 114 119 return info
Note: See TracChangeset for help on using the changeset viewer.