Changeset 14705 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 27 Jun 2017, 05:58:44 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14702 r14705 999 999 'b':view.context.code, 1000 1000 'd':session})) 1001 footer_title = translate(_('${a} (${b}) - ${d}', 1002 mapping = {'a':view.context.title, 1003 'b':view.context.code, 1004 'd':session})) 1001 1005 author = '%s (%s)' % (view.request.principal.title, 1002 1006 view.request.principal.id) … … 1006 1010 'Content-Disposition:', 'attachment; filename="%s' % filename) 1007 1011 pdf_stream = creator.create_pdf( 1008 pdf_data, None, doc_title, author, doc_title + ' -'1012 pdf_data, None, doc_title, author, footer_title + ' -' 1009 1013 ) 1010 1014 return pdf_stream
Note: See TracChangeset for help on using the changeset viewer.