Changeset 8562
- Timestamp:
- 30 May 2012, 12:00:39 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8550 r8562 378 378 self.applyData(self.context, **data) 379 379 self.context.description_dict = self._description() 380 # Always refresh title. So we can change titles 381 # if APP_TYPES_DICT has been edited. 382 appcats_dict = getUtility(IApplicantsUtils).APP_TYPES_DICT 383 title = appcats_dict[self.context.prefix][0] 384 self.context.title = u'%s %s/%s' % ( 385 title, self.context.year, self.context.year + 1) 380 386 self.flash(_('Form has been saved.')) 381 387 return -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r8540 r8562 177 177 title = _(u'Title'), 178 178 required = True, 179 readonly = True,179 readonly = False, 180 180 ) 181 181
Note: See TracChangeset for help on using the changeset viewer.