Changeset 18225 for main/waeup.fceokene


Ignore:
Timestamp:
17 Jan 2026, 03:11:15 (10 months ago)
Author:
Henrik Bettermann
Message:

Exclude new ug programme.

File:
1 edited

Legend:

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

    r18193 r18225  
    6060        portal_language = getUtility(IKofaUtils).PORTAL_LANGUAGE
    6161        line0 = ''
    62         if self.context.student.current_mode.startswith('ug'):
     62        if self.context.student.current_mode.startswith('ug') and self.context.student.faccode != 'SUP':
    6363            line0 = 'IN AFFILIATION WITH UNIVERSITY OF IBADAN\n'
    6464        line1 = translate(_('Admission Letter of'),
    … …  
    106106            os.path.dirname(__file__), 'static', 'letterhead_admission.jpg')
    107107        topMargin=1.8
    108         if self.context.student.current_mode.startswith('ug'):
     108        if self.context.student.current_mode.startswith('ug') and self.context.student.faccode != 'SUP':
    109109            letterhead_path = None
    110110            topMargin=1.5
Note: See TracChangeset for help on using the changeset viewer.