Changeset 10555


Ignore:
Timestamp:
29 Aug 2013, 09:50:01 (11 years ago)
Author:
Henrik Bettermann
Message:

There are many states. Let's use landscape format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/reports/student_statistics.py

    r10551 r10555  
    8585from reportlab.lib.units import cm
    8686from reportlab.platypus import Paragraph, Table, Spacer
     87from reportlab.lib.pagesizes import A4, landscape
    8788from waeup.kofa.reports import IReport, IReportGenerator
    8889from waeup.kofa.reports import Report
     
    146147        pdf = creator.create_pdf(
    147148            pdf_data, None, doc_title, self.author,
    148             'Students in Session %s' % self.session)
     149            'Students in Session %s' % self.session,
     150            pagesize=landscape(A4))
    149151        return pdf
    150152
     
    174176    grok.require('waeup.manageReports')
    175177
    176     label = _('Create students report')
     178    label = _('Create student statistics report')
    177179
    178180    @property
Note: See TracChangeset for help on using the changeset viewer.