Ignore:
Timestamp:
10 Jan 2007, 00:24:40 (18 years ago)
Author:
joachim
Message:

increaselevels

File:
1 edited

Legend:

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

    r1183 r1255  
    5353                      button = button
    5454                      )
    55 if psm == 'invalid':
     55if psm == 'invalid' or info['error'] is not None:
     56    member_id = str(context.portal_membership.getAuthenticatedMember())
     57    logger.info('"%s", %s' % (member_id,info['error'] ))
     58    if psm == 'invalid':
     59        psm = "please correct your input"
     60    else:
     61        psm = "Error in Data, unable to reserve bed."
    5662    return context.accommodation_pin_edit_form(rendered = res,
    57                                  psm = "Please correct your input!",
    5863                                 #psm = "%s, %s" % (psm,ds),
    5964                                 mode = mode,
Note: See TracChangeset for help on using the changeset viewer.