Changeset 4303 for WAeUP_SRP/trunk/skins/waeup_ois
- Timestamp:
- 17 Jun 2009, 13:54:33 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_ois
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_slip.pt
r4098 r4303 36 36 <tr> 37 37 <td>Year Group Average:</td><td> <span tal:content="python:info[sem[4]]" /> (<span tal:content="python:info[sem[5]]" /> overall marks)</td> 38 </tr> 38 </tr> 39 39 </table> 40 40 <br /> <br /> … … 49 49 <th align='center'>Overall <br />Marks</th> 50 50 <th align='center'>Grade</th> 51 <th align='center'>PiS</th> 51 52 <th tal:condition="is_so" align='center'> 52 53 </th> … … 61 62 <td align="center" tal:content="row/score_calc"></td> 62 63 <td align="center" tal:content="row/grade"></td> 64 <td align="center" tal:content="row/pic"></td> 63 65 </tr> 64 66 <tr><td> </td> -
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_view.pt
r4028 r4303 89 89 <th tal:attributes="colspan python: test(show_check_boxes,'2','1')" 90 90 tal:content="python:sem[1]" /> 91 <th align='center'>Code</th> 91 92 <th align='center'>Attitude To Learning</th> 92 93 <th align='center'>CA 1 <br />Marks</th> … … 95 96 <th align='center'>Overall <br />Marks</th> 96 97 <th align='center'>Grade</th> 98 <th align='center'>PiS</th> 97 99 <th tal:condition="submission_allowed" align='center'></th> 98 100 <th tal:condition="is_so" align='center'></th> … … 111 113 </td> 112 114 <td tal:content="row/title"></td> 115 <td align="center" tal:content="row/code"></td> 113 116 <td align="center" tal:content="python:context.portal_vocabularies.pastoral_grade.get(row['atl'])"></td> 114 117 <td align="center" tal:content="row/ca1"></td> … … 117 120 <td align="center" tal:content="row/score_calc"></td> 118 121 <td align="center" tal:content="row/grade"></td> 122 <td align="center" tal:content="row/pic"></td> 119 123 120 124 <td tal:condition="python:submission_allowed and is_student and False" align="center"> -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r4098 r4303 145 145 146 146 session_id = level_doc.session 147 yga1,yga2,yga3,counter1,counter2,counter3 = course_results.getYearGroupAverage(session_id,level_id)147 yga1,yga2,yga3,counter1,counter2,counter3,yg1,yg2,yg3 = course_results.getYearGroupAverage(session_id,level_id) 148 148 info['yga1'] = yga1 149 149 info['yga2'] = yga2 … … 153 153 info['counter3'] = counter3 154 154 155 156 #yg1.sort(reverse=True) 157 #if not len(yg1): 158 # pos1 = 'no result' 159 #for pos1 in range(len(yg1)): 160 # if yg1[pos1] <= float(score_calc_average_1): 161 # break 162 #info['pos1'] = '%d of %d' % (pos1+1,len(yg1)) 163 155 164 #end customization 156 165
Note: See TracChangeset for help on using the changeset viewer.