Ignore:
Timestamp:
7 Feb 2017, 06:23:06 (8 years ago)
Author:
Henrik Bettermann
Message:

Move text slot.

File:
1 edited

Legend:

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

    r14507 r14510  
    127127    pdfcreator = ''
    128128    signatures = None
    129     introduction = None
     129    introduction = ''
    130130
    131131    note = None
     
    178178                              STYLE["Normal"]),
    179179                    Spacer(1, 12),]
     180        if self.introduction:
     181            pdf_data += [Paragraph(self.introduction,
     182                         STYLE["Normal"]), Spacer(1, 12)]
    180183        pdf_data += [Paragraph(
    181184                    translate(
     
    188191                                   }),
    189192                    STYLE["Normal"]),
    190                     Spacer(1, 12),]
     193                    ]
    191194        students_utils = getUtility(IStudentsUtils)
    192         if self.introduction:
    193             pdf_data += [Paragraph(self.introduction, STYLE["Normal"])]
    194195        # Print classes in reverse order
    195196        for gpa_class in range(len(students_utils.gpa_boundaries)-1,-1,-1):
Note: See TracChangeset for help on using the changeset viewer.