Changeset 14696 for main/waeup.aaue/trunk/src
- Timestamp:
- 19 Jun 2017, 11:48:37 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14695 r14696 421 421 form_fields['applicant_id'].for_display = True 422 422 form_fields['reg_number'].for_display = True 423 # Additional omissions 424 if self.context.__parent__.code == 'cert5': 425 for field in ('firstname', 'middlename', 'lastname'): 426 form_fields[field].for_display = True 423 427 return form_fields 424 428 # AAUE is using the same interface for all regular applications. … … 437 441 form_fields = form_fields.omit(field) 438 442 # Additional omissions 439 if self.target is not None and (self.target in ('ude', 'utme') \ 440 or self.context.__parent__.code == 'cert5'): 443 if self.target is not None and self.target in ('ude', 'utme'): 441 444 for field in UPDATE_OMIT_FIELDS: 442 445 form_fields[field].for_display = True
Note: See TracChangeset for help on using the changeset viewer.