Changeset 14063 for main/waeup.kofa


Ignore:
Timestamp:
9 Aug 2016, 19:01:31 (8 years ago)
Author:
Henrik Bettermann
Message:

Add spacer if title has 3 lines.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/pdf.py

    r11872 r14063  
    129129        doc_title = '\n'.join([x.strip() for x in self.title.split(' - ')])
    130130        data = []
     131        if len(self.title.split(' - ')) > 2:
     132            data.append(Spacer(1, 20))
    131133        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    132134        separators = getUtility(IApplicantsUtils).SEPARATORS_DICT
Note: See TracChangeset for help on using the changeset viewer.