Ignore:
Timestamp:
14 Nov 2007, 17:48:37 (17 years ago)
Author:
Henrik Bettermann
Message:

next_level depends on curent_verdict for session > 4 otherwise the level is automatically increased.

File:
1 edited

Legend:

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

    r2475 r2652  
    4141elif review_state == 'returning' and has_verdict and has_level and has_session:
    4242    info['next_session_id'] = next_session_id = "%02d" % (int(session_id)+1)
    43     if int(session_id) > int(context.getSessionId()[0]) -2:
     43    if int(session_id) > 4:
    4444        info['next_transition'] = "pay_school_fee"
    4545        info['next_verdict'] = ''
     
    5454
    5555info['reasons'] = reasons
    56 info['next_session_str'] = context.sessions_voc(next_session_id)
     56info['next_session_str'] = context.getSessionsVoc(next_session_id)
    5757
    5858return info
Note: See TracChangeset for help on using the changeset viewer.