Changeset 936


Ignore:
Timestamp:
24 Nov 2006, 17:33:09 (18 years ago)
Author:
joachim
Message:

some late modifications

Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/Accommodation.py

    r934 r936  
    6363                            if (block,room_nr) in reserved:
    6464                                bt = "reserved"
    65                             elif h.special_handling != "no":
     65                            elif not h.special_handling.startswith("no"):
    6666                                bt = h.special_handling
    6767                            elif bed in h.beds_for_fresh:
     
    7171                            elif bed in h.beds_for_final:
    7272                                bt = 'fi'
     73                            if h.special_handling.startswith("no_"):
     74                                bt += h.special_handling[3:]
    7375                            bt = "%(sex)s_%(bt)s" % vars()
    7476                            uid = '%s_%s_%d_%s' % (hall.getId(),block,room_nr,bed)
  • WAeUP_SRP/trunk/profiles/default/schemas/acco_hall.xml

    r933 r936  
    2020  </field>
    2121 <field name="special_handling" meta_type="CPS String Field"/>
    22  <field name="study_courses" meta_type="CPS String List Field"/>
    2322 <field name="text" meta_type="CPS String Field">
    2423  <property name="is_searchabletext">False</property>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/acco_special_handling.xml

    r934 r936  
    88 <item key="pg" msgid="">Postgraduate</item>
    99 <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>
    1111</object>
Note: See TracChangeset for help on using the changeset viewer.