Ignore:
Timestamp:
13 Nov 2007, 22:12:34 (17 years ago)
Author:
Henrik Bettermann
Message:

minor corrections

don't show 'contact your faculty' message if spillover student

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py

    r2647 r2649  
    1919            voc += ("%s" % l,"%s (spillover)" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))),
    2020        elif repeat > 0:
    21             voc += ("%s" % l,"%s (on %d. probation)" % 
     21            voc += ("%s" % l,"%s (on %d. probation)" %
    2222                    (context.portal_vocabularies.levels.get("%d00" % (level_nr)),
    2323                                                            (repeat // 10))),
    2424        else:
    25             voc += ("%s" % l,"%s" % 
     25            voc += ("%s" % l,"%s" %
    2626                    (context.portal_vocabularies.levels.get("%d00" % (level_nr)))),
    2727    return voc
    28        
     28
    2929try:
    3030    ikey = int(key)
     
    3636level = context.portal_vocabularies.levels.get("%d00" % level_nr)
    3737if level_nr > end_level/100:
    38     return "%s spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))
     38    return "%s Spillover" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))
    3939
    4040if repeat > 0:
    41     level += " on %d. probation" % (repeat // 10)
     41    level += " on %d. Probation" % (repeat // 10)
    4242
    4343return level
Note: See TracChangeset for help on using the changeset viewer.