Changeset 9529 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 4 Nov 2012, 21:28:48 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r9399 r9529 236 236 year = data['year'] 237 237 code = u'%s%s' % (data['prefix'], year) 238 app cats_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT239 title = app cats_dict[data['prefix']][0]238 apptypes_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT 239 title = apptypes_dict[data['prefix']][0] 240 240 title = u'%s %s/%s' % (title, year, year + 1) 241 241 if code in self.context.keys(): … … 401 401 # Always refresh title. So we can change titles 402 402 # if APP_TYPES_DICT has been edited. 403 app cats_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT404 title = app cats_dict[self.context.prefix][0]403 apptypes_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT 404 title = apptypes_dict[self.context.prefix][0] 405 405 self.context.title = u'%s %s/%s' % ( 406 406 title, self.context.year, self.context.year + 1)
Note: See TracChangeset for help on using the changeset viewer.