Changeset 4036 for WAeUP_SRP/trunk/skins
- Timestamp:
- 1 Apr 2009, 08:40:55 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_ois
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_ois/academic_report_slip.pt
r4035 r4036 12 12 term_complete info/complete1; 13 13 term options/term; 14 sem_series python:(('Term One','normal1','complete1','score_calc_average_1' ),('Term Two','normal2','complete2','score_calc_average_2'),('Term Three','normal3','complete3','score_calc_average_3'));14 sem_series python:(('Term One','normal1','complete1','score_calc_average_1','yga1','counter1'),('Term Two','normal2','complete2','score_calc_average_2','yga2','counter2'),('Term Three','normal3','complete3','score_calc_average_3','yga3','counter3')); 15 15 sem python:sem_series[int(term)-1]; 16 16 "> … … 32 32 <td>Student's Average:</td><td tal:content="python:info[sem[3]]"></td> 33 33 </tr> 34 <tr> 35 <td>Year Group Average:</td><td> <span tal:content="python:info[sem[4]]" /> (<span tal:content="python:info[sem[5]]" /> students)</td> 36 </tr> 34 37 </table> 35 38 <br /> <br /> -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r4035 r4036 141 141 info['score_calc_average_3'] = '%.2f' % score_calc_average_3 142 142 143 session_id = level_doc.session 144 yga1,yga2,yga3,counter1,counter2,counter3 = course_results.getYearGroupAverage(session_id,level_id) 145 info['yga1'] = yga1 146 info['yga2'] = yga2 147 info['yga3'] = yga3 148 info['counter1'] = counter1 149 info['counter2'] = counter2 150 info['counter3'] = counter3 143 151 144 152 #end customization
Note: See TracChangeset for help on using the changeset viewer.