Changeset 654 for WAeUP_SRP/trunk/skins/waeup_accommodation/formatBed.py
- Timestamp:
- 11 Oct 2006, 08:51:55 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/formatBed.py
r642 r654 6 6 7 7 hall,block,room,letter = bed.split('_') 8 return "Bed %s in Room %s in Block %s in Hall %s" % (letter,room,block,hall) 8 res = context.portal_catalog(portal_type="AccoHall",id=hall) 9 if res and len(res) == 1: 10 hall_title = res[0].Title 11 return "Bed %s in Room %s in Block %s in Hall %s" % (letter,room,block,hall_title)
Note: See TracChangeset for help on using the changeset viewer.