Changeset 15985 for main/waeup.fceokene


Ignore:
Timestamp:
4 Feb 2020, 15:28:14 (5 years ago)
Author:
Henrik Bettermann
Message:

Insert page break.

File:
1 edited

Legend:

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

    r15983 r15985  
    234234            self.redirect(self.url(self.context))
    235235
     236    @property
     237    def tabletitle(self):
     238        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
     239        tabletitle = []
     240        tabletitle.append(translate(_('1st Semester Courses'), 'waeup.kofa',
     241            target_language=portal_language))
     242        tabletitle.append('_PB_' + translate(_('2nd Semester Courses'), 'waeup.kofa',
     243            target_language=portal_language))
     244        tabletitle.append(translate(_('Level Courses'), 'waeup.kofa',
     245            target_language=portal_language))
     246        return tabletitle
     247
    236248    def render(self):
    237249        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
Note: See TracChangeset for help on using the changeset viewer.