Ignore:
Timestamp:
21 Dec 2015, 10:40:48 (9 years ago)
Author:
Henrik Bettermann
Message:

Reduce prefix length.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/browser.py

    r13551 r13553  
    106106            for field in CBT_OMIT_DISPLAY_FIELDS:
    107107                form_fields = form_fields.omit(field)
    108         elif self.target is not None and self.target.startswith('affil'):
     108        elif self.target is not None and self.target.startswith('aff'):
    109109            form_fields = grok.AutoFields(INigeriaUGApplicant)
    110110            for field in AFFIL_OMIT_DISPLAY_FIELDS:
     
    159159            for field in CBT_OMIT_PDF_FIELDS:
    160160                form_fields = form_fields.omit(field)
    161         elif self.target is not None and self.target.startswith('affil'):
     161        elif self.target is not None and self.target.startswith('aff'):
    162162            form_fields = grok.AutoFields(INigeriaUGApplicant)
    163163            for field in AFFIL_OMIT_PDF_FIELDS:
     
    211211            for field in CBT_OMIT_MANAGE_FIELDS:
    212212                form_fields = form_fields.omit(field)
    213         elif self.target is not None and self.target.startswith('affil'):
     213        elif self.target is not None and self.target.startswith('aff'):
    214214            form_fields = grok.AutoFields(INigeriaUGApplicant)
    215215            for field in AFFIL_OMIT_MANAGE_FIELDS:
     
    249249            for field in CBT_OMIT_EDIT_FIELDS:
    250250                form_fields = form_fields.omit(field)
    251         elif self.target is not None and self.target.startswith('affil'):
     251        elif self.target is not None and self.target.startswith('aff'):
    252252            form_fields = grok.AutoFields(INigeriaUGApplicantEdit)
    253253            for field in AFFIL_OMIT_EDIT_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.