Changeset 2056
- Timestamp:
- 25 Jul 2007, 21:50:37 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudyLevelInfo.py
r2033 r2056 123 123 info['credits_total'] = credits_total 124 124 info['credits_exceeded'] = credits_total > 51 125 session_of_level = context.getContent().session126 info['submission_allowed']= not info['credits_exceeded'] and session_of_level== context.getSessionId()[-2:]125 current_session = student.session 126 info['submission_allowed']= not info['credits_exceeded'] and current_session == context.getSessionId()[-2:] 127 127 carry_overs.sort(cmp_semester_id) 128 128 info['carry_overs'] = carry_overs
Note: See TracChangeset for help on using the changeset viewer.