Changeset 636


Ignore:
Timestamp:
10 Oct 2006, 09:01:03 (18 years ago)
Author:
joachim
Message:

fixes

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  
    2525                      )
    2626if psm == 'invalid':
    27     return context.acco_reserve_form(rendered = res,
     27    return context.reserve_acco_form(rendered = res,
    2828                                 #psm = "Please correct your input.",
    2929                                 psm = "%s, %s" % (psm,ds),
     
    3333                                 )
    3434elif psm == '':
    35     return context.acco_reserve_form(rendered = res,
     35    return context.reserve_acco_form(rendered = res,
    3636                                 psm = None,
    3737                                 firstlayout = True,
     
    4545    code,bed = pa.searchAndReserveBed(s_id,"%s_%s" % (info['sex'],ds.get('student_status')))
    4646    if code < 0:
    47         return context.acco_reserve_form(rendered = res,
     47        return context.reserve_acco_form(rendered = res,
    4848                                 psm = bed,
    4949                                 firstlayout = True,
     
    5252                                 )
    5353    else:
    54         return context.acco_reserve_form(rendered = res,
     54        return context.reserve_acco_form(rendered = res,
    5555                                 psm = "successfully reserved bed %s" % bed,
    5656                                 firstlayout = True,
Note: See TracChangeset for help on using the changeset viewer.