Changeset 2421
- Timestamp:
- 23 Oct 2007, 08:42:32 (17 years ago)
- Location:
- WAeUP_SRP
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Accommodation.py
r1571 r2421 69 69 elif bed in h.beds_for_fresh: 70 70 bt = 'fr' 71 #elif bed in h.beds_for_returning:72 # bt = 're'71 elif bed in h.beds_for_pre: 72 bt = 'pr' 73 73 elif bed in h.beds_for_final: 74 74 bt = 'fi' -
WAeUP_SRP/base/skins/waeup_accommodation/getAccommodationInfo.py
r1871 r2421 97 97 elif int(s_brain.level) < 300: 98 98 bt = 're' 99 elif int(s_brain.level) < 100: 100 bt = 'pr' 101 elif s_brain.faculty in ('MED') and int(s_brain.level) >= 400: 102 bt = "med" 99 103 else: 100 104 res = context.portal_catalog(portal_type = "Certificate", id = s_brain.course) … … 122 126 elif s_brain.course in pti_certificates: 123 127 bt += "_pti" 124 elif s_brain.faculty in ('MED') and int(s_brain.level) >= 400: 125 bt += "_med" 128 126 129 127 130 info['sex']=d['sex'] -
WAeUP_SRP/uniben/profiles/default/layouts/acco_hall.xml
r1412 r2421 8 8 <property name="flexible_widgets"/> 9 9 <property name="validate_values_expr"></property> 10 11 <widget name="beds_for_pre" meta_type="MultiSelect Widget"> 12 <property name="fields"> 13 <element value="beds_for_pre"/> 14 </property> 15 <property name="is_required">False</property> 16 <property name="label">Beds for PRE-NCE Students</property> 17 <property name="label_edit">Beds for PRE-NCE Students</property> 18 <property name="help">Name the bedspaces for PRE-NCE year students. 19 Attention: The bed letters must not exceed the number of beds per room.</property> 20 <property name="readonly_layout_modes"/> 21 <property name="hidden_layout_modes"/> 22 <property name="hidden_readonly_layout_modes"/> 23 <property name="vocabulary">waeup_bed_letters</property> 24 </widget> 25 10 26 <widget name="beds_for_final" meta_type="MultiSelect Widget"> 11 27 <property name="fields"> -
WAeUP_SRP/uniben/profiles/default/schemas/acco_hall.xml
r1412 r2421 5 5 <field name="beds_for_fresh" meta_type="CPS String List Field"/> 6 6 <field name="beds_for_returning" meta_type="CPS String List Field"/> 7 <field name="beds_for_pre" meta_type="CPS String List Field"/> 7 8 <field name="beds_per_room" meta_type="CPS Int Field"> 8 9 <property name="default_expr">python:6</property>
Note: See TracChangeset for help on using the changeset viewer.