Changeset 13899 for main/waeup.kofa/trunk/src
- Timestamp:
- 9 Jun 2016, 12:49:48 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r13898 r13899 940 940 view.context.code, session, view.request.principal.id) 941 941 session = academic_sessions_vocab.getTerm(session).title 942 creator = getUtility(IPDFCreator )942 creator = getUtility(IPDFCreator, name='landscape') 943 943 style = getSampleStyleSheet() 944 pdf_data = [Table(table_data, style=CONTENT_STYLE)] 945 doc_title = translate( 946 _('${a} - Session ${b}\n' 947 'Lecturer(s): ${c}', 948 mapping = {'a':view.context.code, 'b':session, 'c':lecturers})) 944 pdf_data = [Paragraph('<b>Lecturer(s): %s</b>' % lecturers, 945 style["Normal"]),] 946 pdf_data.append(Spacer(1, 20)) 947 pdf_data += [Table(table_data, style=CONTENT_STYLE)] 948 doc_title = translate(_('${a} - Session ${b}', 949 mapping = {'a':view.context.code, 'b':session})) 949 950 author = '%s (%s)' % (view.request.principal.title, 950 951 view.request.principal.id)
Note: See TracChangeset for help on using the changeset viewer.