Changeset 2056 for WAeUP_SRP


Ignore:
Timestamp:
25 Jul 2007, 21:50:37 (17 years ago)
Author:
Henrik Bettermann
Message:

resolve ticket #91 comment 07/25/07 19:56:36

File:
1 edited

Legend:

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

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