Changeset 1293


Ignore:
Timestamp:
15 Jan 2007, 07:18:55 (18 years ago)
Author:
Henrik Bettermann
Message:

psm changed

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/WAeUPTables.py

    r1162 r1293  
    134134        records = self.searchResults({'student' : student_id})
    135135        if len(records) > 0:
    136             return -1,"Student with Id %s already booked bed %s" % (student_id,records[0].bed)
     136            return -1,"Student with Id %s already booked bed %s." % (student_id,records[0].bed)
    137137
    138138        records = [r for r in self.searchResults({'bed_type' : bed_type}) if not r.student]
    139139        #import pdb;pdb.set_trace()
    140140        if len(records) == 0:
    141             return -1,"No bed of this type available!"
     141            return -1,"No bed of this type available. This category is probably fully booked."
    142142        rec = records[0]
    143143        self.modifyRecord(bed=rec.bed,student=student_id)
  • WAeUP_SRP/trunk/skins/waeup_student/reserve_accommodation.py

    r1292 r1293  
    5757    logger.info('"%s", %s' % (member_id,info['error'] ))
    5858    if psm == 'invalid':
    59         psm = "please correct your input"
     59        psm = "Please correct your input."
    6060    else:
    61         psm = "Error in Data, unable to reserve bed."
     61        psm = "Error in data, unable to reserve bed."
    6262    return context.accommodation_pin_edit_form(rendered = res,
    6363                                 psm = psm,
  • WAeUP_SRP/trunk/skins/waeup_student/student_view.pt

    r1258 r1293  
    4646         <br />
    4747         <form action="mail_password_form" method="post" class="group">
    48             <input type="submit" class="context" value="Send Email with Authentification Data" />
     48            <input type="submit" class="context" value="Send Email with Authentication Data" />
    4949         </form>
    5050         </span>
Note: See TracChangeset for help on using the changeset viewer.