Changeset 3040 for WAeUP_SRP


Ignore:
Timestamp:
24 Jan 2008, 06:40:47 (17 years ago)
Author:
Henrik Bettermann
Message:

enable admitting Pre-NCE students

Location:
WAeUP_SRP/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/WAeUPTool.py

    r3039 r3040  
    960960        if da['entry_mode'].startswith('de'):
    961961            dsc['current_level'] = '200'
     962        elif da['entry_mode'].startswith('pre'):
     963            dsc['current_level'] = '000'
    962964        else:
    963965            dsc['current_level'] = '100'
  • WAeUP_SRP/base/skins/waeup_student/getStudentLevelsVoc.py

    r2716 r3040  
    1414
    1515if key is None:
    16     levels = [l for l in range(100,end_level+200,10)
     16    levels = [l for l in range(0,end_level+200,10)
    1717               if l % 100 < 30 and l < end_level + 110]
    1818    voc = [('','')]
     
    3434else:
    3535    return ''
    36 level_nr,repeat = divmod(ikey, 100)                               
     36level_nr,repeat = divmod(ikey, 100)
    3737l = []
    3838
Note: See TracChangeset for help on using the changeset viewer.