Changeset 16967 for main/waeup.aaue/trunk/src/waeup/aaue/browser
- Timestamp:
- 16 Jun 2022, 07:19:57 (3 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/browser
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/browser/pdf.py
r14496 r16967 32 32 header_logo_path = os.path.join( 33 33 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 34 #watermark_path = os.path.join(35 # os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')36 34 37 35 #watermark_pos = [70, 150] 38 36 logo_pos = [500, 708, 60] 37 38 @property 39 def watermark_path(self): 40 if self.view and self.view.__name__ == 'transcript_studview.pdf': 41 self.watermark_pos = [95, 190] 42 return os.path.join( 43 os.path.dirname(__file__), 'static', 'pdf_stud_only.jpg') 44 return 39 45 40 46 class CustomLandscapePDFCreator(LandscapePDFCreator):
Note: See TracChangeset for help on using the changeset viewer.