- Timestamp:
- 11 Dec 2019, 12:02:09 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r15865 r15880 22 22 import pytz 23 23 import sys 24 import os 24 25 import textwrap 25 26 from cStringIO import StringIO … … 543 544 def render(self): 544 545 students_utils = getUtility(IStudentsUtils) 546 letterhead_path = os.path.join( 547 os.path.dirname(__file__), 'static', 'letterhead_admission.jpg') 548 if not os.path.exists(letterhead_path): 549 letterhead_path = None 545 550 return students_utils.renderPDFAdmissionLetter(self, 546 self.context.student, omit_fields=self.omit_fields) 551 self.context.student, omit_fields=self.omit_fields, 552 letterhead_path=letterhead_path) 547 553 548 554 class StudentBaseManageFormPage(KofaEditFormPage):
Note: See TracChangeset for help on using the changeset viewer.