Ignore:
Timestamp:
21 Feb 2013, 15:20:29 (12 years ago)
Author:
Henrik Bettermann
Message:

FCEOkene wants two different logos.

File:
1 edited

Legend:

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

    r9974 r9975  
    533533    watermark_path = None
    534534    header_logo_path = None
     535    header_logo2_path = None
    535536    watermark_pos = [0, 0]
    536537    logo_pos = [0, 0, 0]
     538    logo2_pos = [0, 0, 0]
    537539
    538540    @classmethod
     
    728730                self.logo_pos[0], self.logo_pos[1], width=self.logo_pos[2],
    729731                preserveAspectRatio=True, anchor='ne')
     732        if self.header_logo2_path is not None:
     733            canvas.drawImage(self.header_logo2_path,
     734                self.logo2_pos[0], self.logo2_pos[1], width=self.logo2_pos[2],
     735                preserveAspectRatio=True, anchor='ne')
    730736
    731737        # Title
Note: See TracChangeset for help on using the changeset viewer.