Changeset 936
- Timestamp:
- 24 Nov 2006, 17:33:09 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Accommodation.py
r934 r936 63 63 if (block,room_nr) in reserved: 64 64 bt = "reserved" 65 elif h.special_handling != "no":65 elif not h.special_handling.startswith("no"): 66 66 bt = h.special_handling 67 67 elif bed in h.beds_for_fresh: … … 71 71 elif bed in h.beds_for_final: 72 72 bt = 'fi' 73 if h.special_handling.startswith("no_"): 74 bt += h.special_handling[3:] 73 75 bt = "%(sex)s_%(bt)s" % vars() 74 76 uid = '%s_%s_%d_%s' % (hall.getId(),block,room_nr,bed) -
WAeUP_SRP/trunk/profiles/default/schemas/acco_hall.xml
r933 r936 20 20 </field> 21 21 <field name="special_handling" meta_type="CPS String Field"/> 22 <field name="study_courses" meta_type="CPS String List Field"/>23 22 <field name="text" meta_type="CPS String Field"> 24 23 <property name="is_searchabletext">False</property> -
WAeUP_SRP/trunk/profiles/default/vocabularies/acco_special_handling.xml
r934 r936 8 8 <item key="pg" msgid="">Postgraduate</item> 9 9 <item key="med" msgid="">Medical (Level 500/600)</item> 10 <item key=" ekenhuan" msgid="">Ekenhuan Campus</item>10 <item key="no_ekenhuan" msgid="">Ekenhuan Campus</item> 11 11 </object>
Note: See TracChangeset for help on using the changeset viewer.