Changeset 4487


Ignore:
Timestamp:
30 Jul 2009, 19:37:50 (15 years ago)
Author:
Henrik Bettermann
Message:

resolve email of Issoufou from 30/07/09

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  
    1414                                       sem_series python:(('Term One','normal1','complete1','score_calc_average_1','yga1','counter1','date1','over_pos_term1','no_stud_term1'),
    1515                                                          ('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'));
    1717                                       sem python:sem_series[int(term)-1];
    1818                                       ">
     
    3232            </tr>       
    3333            <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>
    3535            </tr>
    3636            <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>
    3838            </tr>     
    3939            <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>
    4141            </tr>     
    42             <tr>
    43                 <td>Number of Students (in Term):</td><td> <span tal:content="python:info[sem[8]]" /> </td>
    44             </tr>     
     42         
    4543            <tr tal:condition="python:int(term)==3">
    4644                <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>                       
    4849                               
    4950        </table>
     
    5960                        <th style='text-align:center'>Overall <br />Marks</th>
    6061                        <th style='text-align:center'>Grade</th>
    61                         <th style='text-align:center'>PiS</th>
     62                        <th style='text-align:center'>Pos. in <br /> Subject</th>
    6263                        <th tal:condition="is_so" style='text-align:center'>
    6364                        </th>
     
    7778                    </tr>
    7879            </table>
    79 
     80           
    8081
    8182        <span tal:condition="python:True">      <br /><br />
  • WAeUP_SRP/trunk/skins/waeup_ois/getStudyLevelInfo.py

    r4438 r4487  
    144144info['score_calc_average_3'] =  '%.2f' % score_calc_average_3 
    145145
     146score_calc_average_cum = (score_calc_average_1 + score_calc_average_2 + score_calc_average_3)/3
     147
     148info['score_calc_average_cum'] = '%.2f' % score_calc_average_cum
     149
    146150session_id = level_doc.session
    147151yga1,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.