Changeset 2421 for WAeUP_SRP/base
- Timestamp:
- 23 Oct 2007, 08:42:32 (17 years ago)
- Location:
- WAeUP_SRP/base
- Files:
-
- 2 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']
Note: See TracChangeset for help on using the changeset viewer.