Changeset 7061 for main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
- Timestamp:
- 9 Nov 2011, 15:26:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/students/browser.py
r7060 r7061 1236 1236 self.redirect(self.url(self.context)) 1237 1237 return 1238 if str(grok.getSite()[ 1239 'configuration'].accommodation_session) in self.context.keys(): 1238 if student['studycourse'].current_session != acc_details['booking_session']: 1239 self.flash( 1240 'Your current session does not match accommodation session.') 1241 self.redirect(self.url(self.context)) 1242 return 1243 if str(acc_details['booking_session']) in self.context.keys(): 1240 1244 self.flash('You already booked a bed space in current accommodation session.') 1241 1245 self.redirect(self.url(self.context))
Note: See TracChangeset for help on using the changeset viewer.