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

Start customization of clearance slip label.

File:
1 edited

Legend:

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

    r13297 r13299  
    131131        'phone', 'adm_code', 'email', 'date_of_birth')
    132132
     133    @property
     134    def label(self):
     135        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
     136        return translate(_('Clearance Slip of'),
     137            'waeup.kofa', target_language=portal_language) \
     138            + ' %s' % self.context.display_fullname
     139
    133140    def _sigsInFooter(self):
    134141        isStudent = getattr(
Note: See TracChangeset for help on using the changeset viewer.