Changeset 18337 for main


Ignore:
Timestamp:
26 Sep 2026, 12:58:14 (2 months ago)
Author:
Henrik Bettermann
Message:

Implement pg application.

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/applicants/utils.py

    r18280 r18337  
    5151        'trcnce': ['TRCN NCE Programmes', 'TRCN'],
    5252        'dsb': ['Digital Skill Boulevard Certificate Programme ', 'DSB'],
     53        'pg': ['Postgraduate Programmes', 'PG'],
    5354        }
    5455
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/browser.py

    r18328 r18337  
    916916        self.response.setHeader('Content-Type', 'text/html; charset=utf-8')
    917917        certificate = self.context['studycourse'].certificate
     918        self.certificate = certificate.title
    918919        self.fullname = self.context.display_fullname
    919920        self.firstname = self.context.firstname
    … …  
    922923        self.dep = certificate.__parent__.__parent__.longtitle
    923924        self.fac = certificate.__parent__.__parent__.__parent__.longtitle
    924         self.certificate = certificate.longtitle
    925925        tz = getattr(queryUtility(IKofaUtils), 'tzinfo', pytz.utc)
    926926        self.date = now(tz).strftime('%d/%m/%Y')
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/utils/utils.py

    r18317 r18337  
    124124        'trc': 'TRCN Programmes',
    125125        'dsb': 'Digital Skill Boulevard Certificate Programmes',
     126        'pg_ft': 'Postgraduate Full-Time',
     127        'pg_pt': 'Postgraduate Part-Time',
    126128        }
    127129
    … …  
    144146        'trcnce': 'TRCN NCE Programmes',
    145147        'dsb': 'Digital Skill Boulevard Certificate Programmes',
     148        'pg_ft': 'Full-Time Postgraduate Programmes',
     149        'pg_pt': 'Part-Time Postgraduate Programmes',
    146150        }
    147151
Note: See TracChangeset for help on using the changeset viewer.