- Timestamp:
- 16 Dec 2015, 06:07:20 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r13541 r13544 26 26 from waeup.kofa.utils.helpers import string_from_bytes, file_size 27 27 from waeup.kofa.applicants.browser import ApplicantCheckStatusPage 28 from waeup.kofa.applicants.interfaces import ISpecialApplicant29 28 from waeup.kofa.applicants.viewlets import PDFActionButton 30 29 from waeup.aaue.interfaces import MessageFactory as _ … … 41 40 UG_OMIT_EDIT_FIELDS) 42 41 from waeup.aaue.applicants.interfaces import ( 43 ICustomApplicant,44 42 ICustomUGApplicant, 45 ICustomUGApplicantEdit 43 ICustomUGApplicantEdit, 44 ITranscriptApplicant 46 45 ) 47 46 … … 71 70 def form_fields(self): 72 71 if self.target is not None and self.target == 'trans': 73 return grok.AutoFields(ISpecialApplicant).omit( 74 'locked', 'suspended', 'special_application') 72 form_fields = grok.AutoFields(ITranscriptApplicant).omit( 73 'locked', 'suspended') 74 form_fields['dispatch_address'].custom_widget = BytesDisplayWidget 75 form_fields['perm_address'].custom_widget = BytesDisplayWidget 76 return form_fields 75 77 # AAUE is using the same interface for all regular applications. 76 78 form_fields = grok.AutoFields(ICustomUGApplicant) … … 160 162 def form_fields(self): 161 163 if self.target is not None and self.target == 'trans': 162 form_fields = grok.AutoFields(ISpecialApplicant).omit( 163 'special_application') 164 form_fields = grok.AutoFields(ITranscriptApplicant) 164 165 form_fields['applicant_id'].for_display = True 165 166 return form_fields … … 188 189 def form_fields(self): 189 190 if self.target is not None and self.target == 'trans': 190 form_fields = grok.AutoFields(I SpecialApplicant).omit(191 'locked', 'suspended' , 'special_application')191 form_fields = grok.AutoFields(ITranscriptApplicant).omit( 192 'locked', 'suspended') 192 193 form_fields['applicant_id'].for_display = True 193 194 return form_fields
Note: See TracChangeset for help on using the changeset viewer.