source: main/waeup.sirp/trunk/src/waeup/sirp/hostels/vocabularies.py @ 6971

Last change on this file since 6971 was 6970, checked in by Henrik Bettermann, 13 years ago

First version of bed creator (work in progress).

  • Property svn:keywords set to Id
File size: 889 bytes
Line 
1"""Vocabularies and sources for the accommodation section.
2"""
3from zc.sourcefactory.basic import BasicSourceFactory
4from waeup.sirp.interfaces import SimpleWAeUPVocabulary
5
6
7bed_letters = SimpleWAeUPVocabulary(
8    ('Bed A','A'),
9    ('Bed B','B'),
10    ('Bed C','C'),
11    ('Bed D','D'),
12    ('Bed E','E'),
13    ('Bed F','F'),
14    ('Bed G','G'),
15    ('Bed H','H'),
16    ('Bed I','I'),
17    )
18
19blocks = SimpleWAeUPVocabulary(
20    ('Block A','A'),
21    ('Block B','B'),
22    ('Block C','C'),
23    ('Block D','D'),
24    ('Block E','E'),
25    ('Block F','F'),
26    ('Block G','G'),
27    ('Block H','H'),
28    ('Block I','I'),
29    ('Block K','K'),
30    ('Block L','L'),
31    ('Block M','M'),
32    ('Block N','N'),
33    ('Block O','O'),
34    ('Block P','P'),
35    )
36
37special_handling = SimpleWAeUPVocabulary(
38    ('No special handling','none'),
39    ('Blocked','blocked'),
40    ('Postgraduate Hostel','pg'),
41    )
Note: See TracBrowser for help on using the repository browser.