Changeset 14507
- Timestamp:
- 5 Feb 2017, 19:54:02 (8 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r14497 r14507 5 5 ======================= 6 6 7 * Add serial number column to Session Results Presentations. 8 7 9 * Add Raw Score Report to base package. 8 10 9 11 * Only user 'admin' is allowed to access the `DatacenterSettings` page. 10 12 11 * Show correct level title on level reports and session results presentations.13 * Show correct level title on Level Reports and Session Results Presentations. 12 14 13 15 * Get set of selected students also from list of matric numbers. -
main/waeup.kofa/trunk/src/waeup/kofa/students/reports/session_results_presentation.py
r14505 r14507 106 106 ('FONT', (0,0), (-1,-1), 'Helvetica', 8), 107 107 ('FONT', (0,0), (-1,0), 'Helvetica-Bold', 8), # 1st row 108 ('ALIGN', (3,1), (-1,-1), 'RIGHT'),108 #('ALIGN', (3,1), (-1,-1), 'RIGHT'), 109 109 #('ALIGN', (1,0), (1,-1), 'LEFT'), 110 110 #('ALIGN', (2,0), (2,-1), 'LEFT'), … … 198 198 pdf_data += [Paragraph('<strong>%s</strong>' % gpa_class_name, 199 199 STYLE["Normal"])] 200 pdf_data.append(Spacer(1, 6)) 200 201 if len(self.data[gpa_class]): 201 gpa_class_data = self.data[gpa_class] 202 sns = range(len(self.data[gpa_class])) 203 gpa_class_data = [(i+1,) + self.data[gpa_class][i] for i in sns] 202 204 else: 203 gpa_class_data = [('', ' - Nil -', '')]204 table_data = [('S tudent Id', 'Matric No.',205 gpa_class_data = [('', '', '- Nil -', '')] 206 table_data = [('S/N', 'Student Id', 'Matric No.', 205 207 translate(_('Student Name')))] + gpa_class_data 206 208 pdf_data += [Table(table_data, style=TABLE_STYLE)] #, colWidths=col_widths)]
Note: See TracChangeset for help on using the changeset viewer.