Changeset 934
- Timestamp:
- 24 Nov 2006, 16:59:44 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Accommodation.py
r926 r934 51 51 reserved = [(r.split('/')[0],int(r.split('/')[1])) for r in re.split(',|\.| ',h.reserved_rooms) 52 52 if r] 53 sex = 'male'54 if h.which_sex:55 sex = 'female'56 53 #for block in range(1,int(h.nr_of_blocks)+1): 57 54 for block in 'ABCDEFGHIJ'[:int(h.nr_of_blocks)]: 55 sex = 'male' 56 if block in h.blocks_for_female: 57 sex = 'female' 58 58 for floor in range(1,int(h.nr_of_floors)+1): 59 59 for room in range(1,int(h.rooms_per_floor)+1): -
WAeUP_SRP/trunk/profiles/default/layouts/acco_hall.xml
r933 r934 141 141 <property name="vocabulary">acco_special_handling</property> 142 142 </widget> 143 <widget name="study_courses" meta_type="Lines Widget">144 <property name="title">Studycourses</property>145 <property name="fields">146 <element value="study_courses"/>147 </property>148 <property name="label">Studycourses</property>149 <property name="label_edit">Studycourses</property>150 <property name="readonly_layout_modes"/>151 <property name="hidden_layout_modes"/>152 <property name="hidden_readonly_layout_modes"/>153 <property name="width">20</property>154 <property name="height">3</property>155 </widget>156 143 <widget name="maintenance_code" meta_type="Select Widget"> 157 144 <property name="title">Maintenance Fee Prefix</property> … … 176 163 <row> 177 164 <cell name="special_handling"/> 178 </row>179 <row>180 <cell name="study_courses"/>181 165 </row> 182 166 <row> -
WAeUP_SRP/trunk/profiles/default/vocabularies/acco_special_handling.xml
r926 r934 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 11 </object> -
WAeUP_SRP/trunk/skins/waeup_accommodation/getBedTypeNames.py
r926 r934 16 16 ] 17 17 special = [item for item in context.portal_vocabularies.acco_special_handling.items() 18 if item[0] != 'no']18 if not item[0].startswith('no')] 19 19 type_suffixes.extend(special) 20 type_suffixes.append(('ekenhuan','Ekenhuan Campus')) 20 21 dict = {} 21 22 for gender in ('female','male'):
Note: See TracChangeset for help on using the changeset viewer.