Changeset 14472 for main/waeup.aaue/trunk/src/waeup/aaue
- Timestamp:
- 27 Jan 2017, 15:50:38 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14465 r14472 414 414 'locked', 'suspended') 415 415 form_fields['applicant_id'].for_display = True 416 form_fields['reg_number'].for_display = True 416 417 return form_fields 417 418 if self.target is not None and self.target == 'cert': … … 419 420 'locked', 'suspended') 420 421 form_fields['applicant_id'].for_display = True 422 form_fields['reg_number'].for_display = True 421 423 return form_fields 422 424 # AAUE is using the same interface for all regular applications. -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r14471 r14472 492 492 ) 493 493 494 reg_number = TextLineChoice( 495 title = _(u'Registration Number'), 496 readonly = False, 497 required = True, 498 source = contextual_reg_num_source, 499 ) 500 494 501 firstname = schema.TextLine( 495 502 title = _(u'First Name'), … … 507 514 ) 508 515 509 reg_number = TextLineChoice( 510 title = _(u'Registration Number'), 511 readonly = False, 512 required = True, 513 source = contextual_reg_num_source, 516 matric_number = schema.TextLine( 517 title = _(u'Matriculation Number'), 518 readonly = False, 519 required = False, 514 520 ) 515 521 … … 639 645 ) 640 646 647 reg_number = TextLineChoice( 648 title = _(u'Registration Number'), 649 readonly = False, 650 required = True, 651 source = contextual_reg_num_source, 652 ) 653 641 654 firstname = schema.TextLine( 642 655 title = _(u'First Name'), … … 654 667 ) 655 668 656 reg_number = TextLineChoice( 657 title = _(u'Registration Number'), 658 readonly = False, 659 required = True, 660 source = contextual_reg_num_source, 669 matric_number = schema.TextLine( 670 title = _(u'Matriculation Number'), 671 readonly = False, 672 required = False, 661 673 ) 662 674
Note: See TracChangeset for help on using the changeset viewer.