- Timestamp:
- 15 Jun 2016, 10:55:25 (9 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py
r13556 r13945 110 110 for field in AFFIL_OMIT_DISPLAY_FIELDS: 111 111 form_fields = form_fields.omit(field) 112 elif self.target is not None and self.target.startswith(' putme'):112 elif self.target is not None and self.target.startswith('ase'): # was putme 113 113 form_fields = grok.AutoFields(INigeriaUGApplicant) 114 114 for field in PUTME_OMIT_DISPLAY_FIELDS: … … 163 163 for field in AFFIL_OMIT_PDF_FIELDS: 164 164 form_fields = form_fields.omit(field) 165 elif self.target is not None and self.target.startswith(' putme'):165 elif self.target is not None and self.target.startswith('ase'): # was putme 166 166 form_fields = grok.AutoFields(INigeriaUGApplicant) 167 167 if self._reduced_slip(): … … 215 215 for field in AFFIL_OMIT_MANAGE_FIELDS: 216 216 form_fields = form_fields.omit(field) 217 elif self.target is not None and self.target.startswith(' putme'):217 elif self.target is not None and self.target.startswith('ase'): # was putme 218 218 form_fields = grok.AutoFields(INigeriaUGApplicant) 219 219 for field in PUTME_OMIT_MANAGE_FIELDS: … … 253 253 for field in AFFIL_OMIT_EDIT_FIELDS: 254 254 form_fields = form_fields.omit(field) 255 elif self.target is not None and self.target.startswith(' putme'):255 elif self.target is not None and self.target.startswith('ase'): # was putme 256 256 form_fields = grok.AutoFields(IPUTMEApplicantEdit) 257 257 for field in PUTME_OMIT_EDIT_FIELDS: -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py
r13744 r13945 43 43 (_('Post UTME'), 'putme'), 44 44 (_('Post DE'), 'pude'), 45 (_('Admission Screening Exercise'), 'ase'), 45 46 (_('not applicable'), 'na'), 46 47 ) -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/utils.py
r13160 r13945 43 43 'pre': ['Pre-Degree Studies', 'PRE'], 44 44 'cbt': ['CBT Practice Test', 'CBT'], 45 'ase': ['Admission Screening Exercise', 'ASE'], # successor of putme 45 46 } 46 47
Note: See TracChangeset for help on using the changeset viewer.