Changeset 4487
- Timestamp:
- 30 Jul 2009, 19:37:50 (15 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
r4438 r4487 14 14 sem_series python:(('Term One','normal1','complete1','score_calc_average_1','yga1','counter1','date1','over_pos_term1','no_stud_term1'), 15 15 ('Term Two','normal2','complete2','score_calc_average_2','yga2','counter2','date2','over_pos_term2','no_stud_term2'), 16 ('Term Three','normal3','complete3','score_calc_average_3','yga3','counter3','date3','over_pos_term3','no_stud_term3','over_pos_cum','no_stud_cum' ));16 ('Term Three','normal3','complete3','score_calc_average_3','yga3','counter3','date3','over_pos_term3','no_stud_term3','over_pos_cum','no_stud_cum','score_calc_average_cum')); 17 17 sem python:sem_series[int(term)-1]; 18 18 "> … … 32 32 </tr> 33 33 <tr> 34 <td>Student's Average :</td><td tal:content="python:info[sem[3]]"></td>34 <td>Student's Average in Term:</td><td tal:content="python:info[sem[3]]"></td> 35 35 </tr> 36 36 <tr> 37 <td>Year Group Average :</td><td> <span tal:content="python:info[sem[4]]" /> (<span tal:content="python:info[sem[5]]" /> overall marks)</td>37 <td>Year Group Average in Term:</td><td> <span tal:content="python:info[sem[4]]" /> (<span tal:content="python:info[sem[5]]" /> overall marks)</td> 38 38 </tr> 39 39 <tr> 40 <td>Overall Position (in Term):</td><td> <span tal:content="python:info[sem[7]]" /></td>40 <td>Overall Position in Term:</td><td> <span tal:content="python:info[sem[7]]" /> of <span tal:content="python:info[sem[8]]" /></td> 41 41 </tr> 42 <tr> 43 <td>Number of Students (in Term):</td><td> <span tal:content="python:info[sem[8]]" /> </td> 44 </tr> 42 45 43 <tr tal:condition="python:int(term)==3"> 46 44 <td>Overall Position in Year:</td><td> <span tal:content="python:info[sem[9]]" /> </td> 47 </tr> 45 </tr> 46 <tr tal:condition="python:int(term)==3"> 47 <td>Student's Average in Year:</td><td> <span tal:content="python:info[sem[11]]" /> </td> 48 </tr> 48 49 49 50 </table> … … 59 60 <th style='text-align:center'>Overall <br />Marks</th> 60 61 <th style='text-align:center'>Grade</th> 61 <th style='text-align:center'>P iS</th>62 <th style='text-align:center'>Pos. in <br /> Subject</th> 62 63 <th tal:condition="is_so" style='text-align:center'> 63 64 </th> … … 77 78 </tr> 78 79 </table> 79 80 80 81 81 82 <span tal:condition="python:True"> <br /><br /> -
WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py
r4438 r4487 144 144 info['score_calc_average_3'] = '%.2f' % score_calc_average_3 145 145 146 score_calc_average_cum = (score_calc_average_1 + score_calc_average_2 + score_calc_average_3)/3 147 148 info['score_calc_average_cum'] = '%.2f' % score_calc_average_cum 149 146 150 session_id = level_doc.session 147 151 yga1,yga2,yga3,counter1,counter2,counter3,yg1,yg2,yg3 = course_results.getYearGroupAverage(session_id,level_id)
Note: See TracChangeset for help on using the changeset viewer.