- Timestamp:
- 13 Nov 2007, 22:12:34 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py
r2647 r2649 19 19 voc += ("%s" % l,"%s (spillover)" % context.portal_vocabularies.levels.get("%d00" % (level_nr - 1))), 20 20 elif repeat > 0: 21 voc += ("%s" % l,"%s (on %d. probation)" % 21 voc += ("%s" % l,"%s (on %d. probation)" % 22 22 (context.portal_vocabularies.levels.get("%d00" % (level_nr)), 23 23 (repeat // 10))), 24 24 else: 25 voc += ("%s" % l,"%s" % 25 voc += ("%s" % l,"%s" % 26 26 (context.portal_vocabularies.levels.get("%d00" % (level_nr)))), 27 27 return voc 28 28 29 29 try: 30 30 ikey = int(key) … … 36 36 level = context.portal_vocabularies.levels.get("%d00" % level_nr) 37 37 if 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)) 39 39 40 40 if repeat > 0: 41 level += " on %d. probation" % (repeat // 10)41 level += " on %d. Probation" % (repeat // 10) 42 42 43 43 return level
Note: See TracChangeset for help on using the changeset viewer.