Ignore:
Timestamp:
9 Feb 2012, 16:22:05 (13 years ago)
Author:
Henrik Bettermann
Message:

Add getVerdictsDict method to SIRPUtils which is used to setup the new VerdictSource?.

File:
1 edited

Legend:

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

    r7585 r7619  
    108108        return send_mail(
    109109            from_name,from_addr,rcpt_name,rcpt_addr,subject,body,config)
     110
     111
     112    def getVerdictsDict(self):
     113        """Provide a dictionary of verdicts.
     114        """
     115        return {
     116            'A1': 'First Class',
     117            '0': 'not yet',
     118            'A3': 'Second Class Lower',
     119            'A2': 'Second Class Upper',
     120            'A5': 'Pass',
     121            'A4': 'Third Class',
     122            'A7': 'Credit',
     123            'A6': 'Distinction',
     124            'A8': 'Merit',
     125            'A': 'Successful student',
     126            'C': 'Student on probation',
     127            'B': 'Student with carryover courses',
     128            'E': 'Student who were previously on probation',
     129            'D': 'Withdrawn from the faculty',
     130            'G': 'Absent from examination',
     131            'F': 'Medical case',
     132            'I': 'Expelled/rusticated/suspended student',
     133            'H': 'Withheld results',
     134            'K': 'Unregistered student',
     135            'J': 'Temporary withdrawn from the university',
     136            'M': 'Reinstatement',
     137            'L': 'Referred student',
     138            'O': 'NCE-III repeater',
     139            'N': 'Student on transfer',
     140            'Y': 'No previous verdict',
     141            'X': 'New 300 level student',
     142            'Z': 'Successful student (provisional)'}
Note: See TracChangeset for help on using the changeset viewer.