Changeset 9452 for main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
- Timestamp:
- 29 Oct 2012, 08:08:23 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r9450 r9452 135 135 data_right.append([f_label,f_text]) 136 136 137 if getattr(studentview.context, 'certcode' ):137 if getattr(studentview.context, 'certcode', None): 138 138 f_label = formatted_label(size=12) % _('Study Course') 139 139 f_label = Paragraph(f_label, style["Normal"]) … … 505 505 footer_text = "%s - %s - " % (student.student_id, footer_text) 506 506 507 # Insert history508 if not filename.startswith('payment'):509 data.extend(creator.fromStringList(student.history.messages))510 511 507 # Insert student data table 512 508 portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE … … 529 525 data.extend(docs_as_flowables(view, portal_language)) 530 526 531 # Insert content table (optionally on second page) 527 # Insert history 528 if filename.startswith('clearance') or filename.startswith('course'): 529 hist_translation = trans(_('Workflow History'), portal_language) 530 data.append(Paragraph(hist_translation, style["Heading3"])) 531 data.extend(creator.fromStringList(student.history.messages)) 532 533 # Insert content table (optionally on second page) 532 534 if tabledata and tableheader: 533 535 #data.append(PageBreak())
Note: See TracChangeset for help on using the changeset viewer.