Ignore:
Timestamp:
10 Mar 2009, 08:03:23 (16 years ago)
Author:
Henrik Bettermann
Message:

ease disabling hostel booking also for fceokene

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_fceokene/reserve_accommodation.py

    r3772 r4009  
    99"""
    1010process the the accommodation reservation
     11customized for FCE Okene (random booking order)
    1112"""
    1213try:
     
    3435
    3536mode = 'create'
     37if info['booking_disabled']:
     38    return context.REQUEST.RESPONSE.redirect("%s/booking_disabled" % info['student'].absolute_url())
    3639if not info['booking_allowed']:
    3740    return context.REQUEST.RESPONSE.redirect("%s/no_booking_allowed" % info['student'].absolute_url())
Note: See TracChangeset for help on using the changeset viewer.