Changeset 14702 for main/waeup.kofa/trunk/src/waeup/kofa/students
- Timestamp:
- 24 Jun 2017, 09:21:59 (8 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/students
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r14685 r14702 3325 3325 students_utils = getUtility(IStudentsUtils) 3326 3326 return students_utils.renderPDFCourseticketsOverview( 3327 self, session, self.data(session), lecturers )3327 self, session, self.data(session), lecturers, 'landscape') 3328 3328 3329 3329 class ExportJobContainerOverview(KofaPage): -
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r14684 r14702 156 156 """ 157 157 158 def renderPDFCourseticketsOverview(view, session, data, lecturers): 158 def renderPDFCourseticketsOverview( 159 view, session, data, lecturers, orientation): 159 160 """Render pdf slip of course tickets for a lecturer. 160 161 """ -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r14596 r14702 968 968 969 969 def renderPDFCourseticketsOverview( 970 self, view, session, data, lecturers ):970 self, view, session, data, lecturers, orientation): 971 971 """Render pdf slip of course tickets for a lecturer. 972 972 """ … … 974 974 view.context.code, session, view.request.principal.id) 975 975 session = academic_sessions_vocab.getTerm(session).title 976 creator = getUtility(IPDFCreator, name= 'landscape')976 creator = getUtility(IPDFCreator, name=orientation) 977 977 style = getSampleStyleSheet() 978 978 pdf_data = [Paragraph(
Note: See TracChangeset for help on using the changeset viewer.