Ignore:
Timestamp:
12 Dec 2019, 18:50:01 (5 years ago)
Author:
Henrik Bettermann
Message:

Finetune admission slip.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py

    r15887 r15890  
    9898        letterhead_path = os.path.join(
    9999            os.path.dirname(__file__), 'static', 'letterhead_admission.jpg')
     100        topMargin=1.8
    100101        if self.context.student.current_mode.startswith('ug'):
    101102            letterhead_path = None
     103            topMargin=1.5
    102104        return students_utils.renderPDFAdmissionLetter(self,
    103105            self.context.student, omit_fields=self.omit_fields,
    104106            letterhead_path=letterhead_path,
     107            topMargin=topMargin,
    105108            post_text=self._post_text)
    106109
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r15706 r15890  
    427427            inst_name = grok.getSite()['configuration'].name
    428428            text = trans(_(
    429                 'This is to inform you that you have been provisionally'
     429                'This is to inform you that you have been provisionally\n'
    430430                ' admitted into ${a} as follows:', mapping = {'a': inst_name}),
    431431                portal_language)
Note: See TracChangeset for help on using the changeset viewer.