Ignore:
Timestamp:
15 Mar 2007, 13:41:02 (18 years ago)
Author:
joachim
Message:

Ghana version (already in custom)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/create_level.py

    r1513 r1552  
    4141elif in_progress == 'started':
    4242    return
     43
     44if context.hasObject(current_level):
     45    return
     46    level = getattr(context,current_level)
     47    return response.redirect("%s" % level.absolute_url())
     48   
    4349context.invokeFactory('StudentStudyLevel',"%s" % current_level)
    4450level = getattr(context,"%s" % current_level)
     
    101107session.set('in_progress','finished')
    102108return
    103 return response.redirect("%s" % level.absolute_url())
Note: See TracChangeset for help on using the changeset viewer.