Changeset 15073


Ignore:
Timestamp:
1 Jul 2018, 09:18:57 (6 years ago)
Author:
Henrik Bettermann
Message:

Customize STUDY_MODES_DICT and MODE_GROUPS.

File:
1 edited

Legend:

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

    r15071 r15073  
    6666
    6767    STUDY_MODES_DICT = {
    68         'ume_ft': 'UME Full Time',
    69         'ug_ft': 'Undergraduate Full Time',
    70         'ug_pt': 'Undergraduate Part Time',
    71         'dp_pt': 'Diploma Part Time',
    72         'ct_ft': 'Certificate Full Time',
    73         'dp_ft': 'Diploma Full Time',
    74         'de_ft': 'Direct Entry Full Time',
    75         'de_pt': 'Direct Entry Part Time',
     68        #'ume_ft': 'UME Full Time',
     69        'ug_ft': 'Undergraduate Full Time (not used in EdoPoly)',
     70        #'ug_pt': 'Undergraduate Part Time',
     71        #'dp_pt': 'Diploma Part Time',
     72        #'ct_ft': 'Certificate Full Time',
     73        #'dp_ft': 'Diploma Full Time',
     74        #'de_ft': 'Direct Entry Full Time',
     75        #'de_pt': 'Direct Entry Part Time',
    7676        'nd_ft': 'National Diploma Full Time',
    7777        'nd_pt': 'National Diploma Part Time',
    7878        'hnd_ft': 'Higher National Diploma Full Time',
    7979        'hnd_pt': 'Higher National Diploma Part Time',
    80         'pg_ft': 'Postgraduate Full Time',
    81         'pg_pt': 'Postgraduate Part Time',
    82         'pgd_ft': 'Postgraduate Diploma Full Time',
    83         'pgd_pt': 'Postgraduate Diploma Part Time',
    84         'special_pg_pt': 'Special Postgraduate Part Time',
    85         'nce_ft': 'NCE Full Time',
    86         'nce_pt': 'NCE Part Time',
    87         'ug_sw': 'Undergraduate Sandwich',
    88         'nce_sw': 'NCE Sandwich',
    89         'jm_ft': 'Joint Matriculation Full Time',
    90         'ph_ft': 'Post Higher Education Full Time',
    91         'transfer_pt': 'Transfer Part Time',
    92         'transfer_ft': 'Transfer Full Time',
    93         'ct_pt': 'Certificate Part Time',
    94         'rmd_ft': 'Remedial with deficiencies',
    95         'rm_ft': 'Remedial',
     80        #'pg_ft': 'Postgraduate Full Time',
     81        #'pg_pt': 'Postgraduate Part Time',
     82        #'pgd_ft': 'Postgraduate Diploma Full Time',
     83        #'pgd_pt': 'Postgraduate Diploma Part Time',
     84        #'special_pg_pt': 'Special Postgraduate Part Time',
     85        #'nce_ft': 'NCE Full Time',
     86        #'nce_pt': 'NCE Part Time',
     87        #'ug_sw': 'Undergraduate Sandwich',
     88        #'nce_sw': 'NCE Sandwich',
     89        #'jm_ft': 'Joint Matriculation Full Time',
     90        #'ph_ft': 'Post Higher Education Full Time',
     91        #'transfer_pt': 'Transfer Part Time',
     92        #'transfer_ft': 'Transfer Full Time',
     93        #'ct_pt': 'Certificate Part Time',
     94        #'rmd_ft': 'Remedial with deficiencies',
     95        #'rm_ft': 'Remedial',
    9696        'transfer': 'Transfer',
    97         'prence': 'Pre-NCE',
    98         'prend': 'Pre-ND',
    99         'pce': 'PCE',
    100         'pd_ft': 'Professional Diploma in Education',
    101         'found': 'Foundation',
     97        #'prence': 'Pre-NCE',
     98        #'prend': 'Pre-ND',
     99        #'pce': 'PCE',
     100        #'pd_ft': 'Professional Diploma in Education',
     101        #'found': 'Foundation',
    102102        'no': 'no application',
    103103        }
     
    105105    MODE_GROUPS = {
    106106        'All': ('all',),
    107         'Undergraduate Full-Time': ('ug_ft',),
    108         'Undergraduate Part-Time': ('ug_pt',),
    109         'Postgraduate Full-Time': ('pg_ft',),
    110         'Postgraduate Part-Time': ('pg_pt',),
     107        'Undergraduate Full-Time': ('hnd_ft', 'nd_ft'),
     108        'Undergraduate Part-Time': ('hnd_pt', 'nd_pt'),
     109        #'Postgraduate Full-Time': ('pg_ft',),
     110        #'Postgraduate Part-Time': ('pg_pt',),
    111111        }
Note: See TracChangeset for help on using the changeset viewer.