Changeset 9411


Ignore:
Timestamp:
25 Oct 2012, 05:20:55 (12 years ago)
Author:
Henrik Bettermann
Message:

Log bed booking and relocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r9383 r9411  
    16231623        key = str(acc_details['booking_session'])
    16241624        self.context[key] = bedticket
     1625        self.context.writeLogMessage(self, 'booked: %s' % bed.bed_id)
    16251626        self.flash(_('Bed ticket created and bed booked: ${a}',
    16261627            mapping = {'a':bedticket.bed_coordinates}))
     
    17421743        self.context.bed_coordinates = translate(
    17431744            bc, 'waeup.kofa',target_language=portal_language)
     1745        self.context.writeLogMessage(self, 'relocated: %s' % new_bed.bed_id)
    17441746        self.flash(_('Student relocated: ${a}',
    17451747            mapping = {'a':self.context.bed_coordinates}))
Note: See TracChangeset for help on using the changeset viewer.