Changeset 14808


Ignore:
Timestamp:
18 Aug 2017, 13:31:14 (7 years ago)
Author:
Henrik Bettermann
Message:

Customize STUDY_MODES_DICT and add special_ug_ft item.

File:
1 edited

Legend:

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

    r14688 r14808  
    6060    MODE_GROUPS = {
    6161        'All':('all',),
    62         'Undergraduate Full-Time':('ug_ft'),
     62        'Undergraduate Full-Time':('ug_ft', 'special_ug_ft'),
    6363        'Undergraduate Part-Time':('ug_pt'),
    64         'Diploma/Certificate Full-Time':('dp_ft','ct_ft'),
    65         'Diploma/Certificate Part-Time':('dp_pt','ct_pt'),
     64        'Diploma/Certificate Full-Time':('dp_ft', 'ct_ft'),
     65        'Diploma/Certificate Part-Time':('dp_pt', 'ct_pt'),
    6666        'Postgraduate Full-Time':('pg_ft', 'pgd_ft'),
    6767        'Postgraduate Part-Time':('pg_pt', 'special_pg_pt', 'pgd_pt'),
     
    141141        'pg': 'Postgraduate Hostel',
    142142        }
     143
     144    STUDY_MODES_DICT = {
     145        'ume_ft': 'UME Full Time',
     146        'ug_ft': 'Undergraduate Full Time',
     147        'ug_pt': 'Undergraduate Part Time',
     148        'dp_pt': 'Diploma Part Time',
     149        'ct_ft': 'Certificate Full Time',
     150        'dp_ft': 'Diploma Full Time',
     151        'de_ft': 'Direct Entry Full Time',
     152        'de_pt': 'Direct Entry Part Time',
     153        'pg_ft': 'Postgraduate Full Time',
     154        'pg_pt': 'Postgraduate Part Time',
     155        'pgd_ft': 'Postgraduate Diploma Full Time',
     156        'pgd_pt': 'Postgraduate Diploma Part Time',
     157        'special_pg_pt': 'Special Postgraduate Part Time',
     158        'ug_sw': 'Undergraduate Sandwich',
     159        'transfer_pt': 'Transfer Part Time',
     160        'transfer_ft': 'Transfer Full Time',
     161        'ct_pt': 'Certificate Part Time',
     162        'transfer': 'Transfer',
     163        'found': 'Foundation',
     164        'no': 'no application',
     165        'special_ug_ft': 'Special UG Programme'
     166        }
Note: See TracChangeset for help on using the changeset viewer.