Ignore:
Timestamp:
4 Feb 2017, 18:15:58 (8 years ago)
Author:
Henrik Bettermann
Message:

Add text 'slot'. Needed by AAUE.

File:
1 edited

Legend:

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

    r14488 r14502  
    127127    pdfcreator = ''
    128128    signatures = None
     129    introduction = None
    129130
    130131    note = None
     
    179180        pdf_data += [Paragraph(
    180181                    translate(
    181                         '${a}<br />${b}<br />${c}<br /><br />Session: ${d}<br />Level: ${e}',
     182                        '${a}<br />${b}<br />${c}<br />Session: ${d}<br />Level: ${e}',
    182183                        mapping = {'a':self.certtitle,
    183184                                   'b':self.deptitle,
     
    189190                    Spacer(1, 12),]
    190191        students_utils = getUtility(IStudentsUtils)
     192        if self.introduction:
     193            pdf_data += [Paragraph(self.introduction, STYLE["Normal"])]
    191194        # Print classes in reverse order
    192195        for gpa_class in range(len(students_utils.gpa_boundaries)-1,-1,-1):
Note: See TracChangeset for help on using the changeset viewer.