- Timestamp:
- 27 Oct 2007, 21:53:04 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_accommodation/getAccommodationInfo.py
r2427 r2454 80 80 booking_allowed = info['verdict'] in ("A", 81 81 "B",) 82 82 83 83 booking_allowed = False # booking temporarily disabled 84 84 # the algorithm must be adapted to new course_results catalog 85 85 # and/or FCEOkene modalities 86 87 88 89 90 91 92 93 94 86 87 95 88 info['booking_allowed'] = booking_allowed 96 89 if not booking_allowed: 97 90 info['acco'] = None 98 91 return info 99 acco_id = 'accommodation_2006' 92 info['session'] = session = context.getSessionId() 93 acco_id = 'accommodation_' + session[0] 100 94 acco = getattr(student,acco_id,None) 101 95 info['acco'] = acco
Note: See TracChangeset for help on using the changeset viewer.