Changeset 13300


Ignore:
Timestamp:
8 Oct 2015, 07:23:48 (9 years ago)
Author:
Henrik Bettermann
Message:

Modify label of clearance slip.

File:
1 edited

Legend:

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

    r13299 r13300  
    134134    def label(self):
    135135        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    136         return translate(_('Clearance Slip of'),
     136        line0 = ''
     137        if self.context.faccode == 'JUPEB':
     138            line0 = 'Joint Universities Preliminary Examinations Board (JUPEB)\n'
     139        line1 = translate(_('Clearance Slip of'),
    137140            'waeup.kofa', target_language=portal_language) \
    138141            + ' %s' % self.context.display_fullname
     142        return '%s%s' % (line0, line1)
    139143
    140144    def _sigsInFooter(self):
Note: See TracChangeset for help on using the changeset viewer.