Changeset 13126


Ignore:
Timestamp:
1 Jul 2015, 18:36:52 (9 years ago)
Author:
Henrik Bettermann
Message:

Move VERDICTS_DICT to NigeriaKofaUtils?.

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
2 edited

Legend:

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

    r12574 r13126  
    2525    """
    2626
    27     VERDICTS_DICT = {
    28         '0': 'not yet',
    29         'A': 'Successful student',
    30         'B': 'Student with carryover courses',
    31         'C': 'Student on probation',
    32         'D': 'Withdrawn from the faculty',
    33         'E': 'Student who were previously on probation',
    34         'F': 'Medical case',
    35         'G': 'Absent from examination',
    36         'H': 'Withheld results',
    37         'I': 'Expelled/rusticated/suspended student',
    38         'J': 'Temporary withdrawn from the university',
    39         'K': 'Unregistered student',
    40         'L': 'Referred student',
    41         'M': 'Reinstatement',
    42         'N': 'Student on transfer',
    43         #'O': 'NCE-III repeater', # FCEOkene only
    44         'P': 'Exhausted maximum years in the university',
    45         'Y': 'No previous verdict',
    46         'X': 'New 300 level student (Uniben)',
    47         'Z': 'Successful student (provisional)',
    48         'A1': 'First Class',
    49         'A2': 'Second Class Upper',
    50         'A3': 'Second Class Lower',
    51         'A4': 'Third Class',
    52         'A5': 'Pass',
    53         'A6': 'Distinction',
    54         'A7': 'Credit',
    55         'A8': 'Merit',
    56         }
    57 
    5827    SEPARATORS_DICT = {
    5928        'form.fst_sit_fname': _(u'First Sitting Record'),
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/utils/utils.py

    r12613 r13126  
    263263        }
    264264
     265    VERDICTS_DICT = {
     266        '0': 'not yet',
     267        'A': 'Successful student',
     268        'B': 'Student with carryover courses',
     269        'C': 'Student on probation',
     270        'D': 'Withdrawn from the faculty',
     271        'E': 'Student who were previously on probation',
     272        'F': 'Medical case',
     273        'G': 'Absent from examination',
     274        'H': 'Withheld results',
     275        'I': 'Expelled/rusticated/suspended student',
     276        'J': 'Temporary withdrawn from the university',
     277        'K': 'Unregistered student',
     278        'L': 'Referred student',
     279        'M': 'Reinstatement',
     280        'N': 'Student on transfer',
     281        #'O': 'NCE-III repeater', # FCEOkene only
     282        'P': 'Exhausted maximum years in the university',
     283        'Y': 'No previous verdict',
     284        'X': 'New 300 level student (Uniben)',
     285        'Z': 'Successful student (provisional)',
     286        'A1': 'First Class',
     287        'A2': 'Second Class Upper',
     288        'A3': 'Second Class Lower',
     289        'A4': 'Third Class',
     290        'A5': 'Pass',
     291        'A6': 'Distinction',
     292        'A7': 'Credit',
     293        'A8': 'Merit',
     294        }
     295
     296
    265297    @property
    266298    def tzinfo(self):
Note: See TracChangeset for help on using the changeset viewer.