Ignore:
Timestamp:
18 Jul 2007, 07:51:47 (17 years ago)
Author:
Henrik Bettermann
Message:

enable registering courses for session 05

only drawback: level object for session 05 is not closed after submission (register_courses)

please check

File:
1 edited

Legend:

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

    r2011 r2031  
    123123info['credits_total'] = credits_total
    124124info['credits_exceeded'] = credits_total > 51
     125session_of_level = context.getContent().session
     126info['submission_allowed']= not info['credits_exceeded'] and session_of_level == context.getSessionId()[-2:]
    125127carry_overs.sort(cmp_semester_id)
    126128info['carry_overs'] = carry_overs
Note: See TracChangeset for help on using the changeset viewer.