Changeset 13446 for main/waeup.uniben/trunk/src
- Timestamp:
- 12 Nov 2015, 09:06:14 (9 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py
r13444 r13446 65 65 else: 66 66 return _("Outside booking period.") 67 if student.current_mode != 'ug_ft': 68 return _("Only undergraduate full-time students are eligible to book accommodation.") 67 69 bt = acc_details.get('bt') 68 70 if not bt: … … 125 127 if student.faccode in ('MED', 'DEN'): 126 128 special_handling = 'clinical' 129 elif student.certcode in ('BARTMAS', 'MARTTHR', 'BARTFAA'): 130 special_handling = 'ekenwan' 127 131 d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt) 128 132 return d -
main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py
r13294 r13446 114 114 'regular': 'Regular Hostel', 115 115 'blocked': 'Blocked Hostel', 116 'clinical': 'Clinical Hostel' 116 'clinical': 'Clinical Hostel', 117 'ekenwan': 'Ekenwan Campus' 117 118 }
Note: See TracChangeset for help on using the changeset viewer.