Changeset 3628 for WAeUP_SRP/unilorin
- Timestamp:
- 26 Aug 2008, 07:18:47 (16 years ago)
- Location:
- WAeUP_SRP/unilorin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/unilorin/profiles/default/course_results.xml
r3609 r3628 11 11 <column value="session_id"/> 12 12 <column value="score"/> 13 <column value="cascore"/> 13 14 <column value="grade"/> 14 15 <column value="lecturer"/> … … 21 22 <index name="lecturer" meta_type="FieldIndex"> 22 23 <indexed_attr value="lecturer"/> 23 </index> 24 </index> 24 25 <index name="student_id" meta_type="FieldIndex"> 25 26 <indexed_attr value="student_id"/> -
WAeUP_SRP/unilorin/profiles/default/layouts/import_course_result.xml
r3574 r3628 153 153 </widget> 154 154 155 <widget name="cascore" meta_type="Int Widget"> 156 <property name="title">CA Score</property> 157 <property name="fields"> 158 <element value="cascore"/> 159 </property> 160 <property name="is_required">False</property> 161 <property name="label">CA Score</property> 162 <property name="label_edit">Ca Score</property> 163 <property name="readonly_layout_modes"> 164 </property> 165 <property name="hidden_layout_modes"/> 166 <property name="hidden_readonly_layout_modes"/> 167 <property name="min_value">1</property> 168 <property name="max_value">100</property> 169 </widget> 170 155 171 <widget name="grade" meta_type="Select Widget"> 156 172 <property name="title">Grade</property> -
WAeUP_SRP/unilorin/profiles/default/layouts/student_course_result.xml
r3609 r3628 81 81 <property name="hidden_readonly_layout_modes"/> 82 82 </widget> 83 <widget name="cascore" meta_type="Int Widget"> 84 <property name="title">Continuous Assessment Score</property> 85 <property name="fields"> 86 <element value="cascore"/> 87 </property> 88 <property name="label">Continuous Assessment Score</property> 89 <property name="label_edit">Continuous Assessment Score</property> 90 <property name="readonly_layout_modes"> 91 </property> 92 <property name="hidden_layout_modes"/> 93 <property name="hidden_readonly_layout_modes"/> 94 </widget> 83 95 <widget name="title" meta_type="String Widget"> 84 96 <property name="title">Original Course Title</property> … … 106 118 </row> 107 119 <row> 120 <cell name="cascore"/> 121 </row> 122 <row> 108 123 <cell name="core_or_elective "/> 109 124 </row> -
WAeUP_SRP/unilorin/profiles/default/schemas/import_course_result.xml
r3234 r3628 10 10 <field name="credits" meta_type="CPS Int Field"/> 11 11 <field name="score" meta_type="CPS String Field"/> 12 <field name="cascore" meta_type="CPS String Field"/> 12 13 <field name="grade" meta_type="CPS String Field"/> 13 14 <field name="carry_over" meta_type="CPS Boolean Field"/> -
WAeUP_SRP/unilorin/profiles/default/schemas/student_course_result.xml
r2612 r3628 11 11 <field name="status" meta_type="CPS String Field"/> 12 12 <field name="passmark" meta_type="CPS Int Field"/> 13 <field name="cascore" meta_type="CPS Int Field"/> 13 14 </object> -
WAeUP_SRP/unilorin/waeup_custom/getStudyLevelInfo.py
r3476 r3628 85 85 86 86 max_credits = 58 87 info['without_score'] = without_score =False88 87 info['without_score'] = False 88 info['without_cascore'] = False 89 89 90 90 -
WAeUP_SRP/unilorin/waeup_custom/getTranscriptInfo.py
r3620 r3628 54 54 55 55 year_counter = 0 56 cgpa = 0 57 c_total_credits = 0 56 58 for year in year_courses: 57 59 gpa = 0 … … 61 63 gpa += int(course['weight']) * int(course['credits']) 62 64 total_credits += int(course['credits']) 65 cgpa += gpa 66 c_total_credits += total_credits 63 67 if gpa and total_credits: 64 68 year_details[year_counter]['total_credits'] = total_credits … … 66 70 else: 67 71 year_details[year_counter]['total_credits'] = 0 68 year_details[year_counter]['gpa'] = 0 72 year_details[year_counter]['gpa'] = 0 73 74 if cgpa and c_total_credits: 75 year_details[year_counter]['c_total_credits'] = c_total_credits 76 year_details[year_counter]['cgpa'] = "%4.2f" % (float(cgpa)/int(c_total_credits)) 77 else: 78 year_details[year_counter]['c_total_credits'] = 0 79 year_details[year_counter]['cgpa'] = 0 80 69 81 year.sort(cmp=lambda x,y: cmp("%(semester)s%(code)s" % x, 70 82 "%(semester)s%(code)s" % y)) -
WAeUP_SRP/unilorin/waeup_custom/transcript_view.pt
r3620 r3628 73 73 <table> 74 74 <tr tal:condition="details/total_credits" > 75 <th >Total Credits:</th>75 <th width='200pt'>Total Credits:</th> 76 76 <td tal:content="details/total_credits" /> 77 77 </tr> … … 80 80 <td><span tal:content="details/gpa" /></td> 81 81 </tr> 82 <tr> 83 <th>Cumulative Total Credits:</th> 84 <td tal:content="details/c_total_credits" /> 85 </tr> 86 <tr tal:condition="details/cgpa"> 87 <th>CGPA:</th> 88 <td><span tal:content="details/cgpa" /></td> 89 </tr> 82 90 </table> 83 91
Note: See TracChangeset for help on using the changeset viewer.