Changeset 636 for WAeUP_SRP/trunk/skins
- Timestamp:
- 10 Oct 2006, 09:01:03 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_accommodation
- Files:
-
- 1 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/reserve_acco.py
r635 r636 25 25 ) 26 26 if psm == 'invalid': 27 return context. acco_reserve_form(rendered = res,27 return context.reserve_acco_form(rendered = res, 28 28 #psm = "Please correct your input.", 29 29 psm = "%s, %s" % (psm,ds), … … 33 33 ) 34 34 elif psm == '': 35 return context. acco_reserve_form(rendered = res,35 return context.reserve_acco_form(rendered = res, 36 36 psm = None, 37 37 firstlayout = True, … … 45 45 code,bed = pa.searchAndReserveBed(s_id,"%s_%s" % (info['sex'],ds.get('student_status'))) 46 46 if code < 0: 47 return context. acco_reserve_form(rendered = res,47 return context.reserve_acco_form(rendered = res, 48 48 psm = bed, 49 49 firstlayout = True, … … 52 52 ) 53 53 else: 54 return context. acco_reserve_form(rendered = res,54 return context.reserve_acco_form(rendered = res, 55 55 psm = "successfully reserved bed %s" % bed, 56 56 firstlayout = True,
Note: See TracChangeset for help on using the changeset viewer.