Ignore:
Timestamp:
10 Nov 2011, 18:56:18 (13 years ago)
Author:
Henrik Bettermann
Message:

Much more logic for bed allocation, bed release.

Implement student relocation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/hostels/catalog.py

    r7006 r7068  
    2121    bed_type = index.Field(attribute='bed_type')
    2222    owner = index.Field(attribute='owner')
    23 
    24 class BedQueryResultItem(object):
    25     grok.implements(IQueryResultItem)
    26 
    27     title = u'Bed Query Item'
    28     description = u'Some bed found in a search'
    29 
    30     def __init__(self, context, view):
    31         self.context = context
    32         self.url = view.url(context)
    33         self.bed_id = context.bed_id
    34         self.bed_type = context.bed_type
    35         self.bed_number = context.bed_number
Note: See TracChangeset for help on using the changeset viewer.