Ignore:
Timestamp:
21 Dec 2015, 15:08:12 (9 years ago)
Author:
Henrik Bettermann
Message:

Shorten prefix again.

File:
1 edited

Legend:

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

    r13553 r13556  
    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('aff'):
     108        elif self.target is not None and self.target.startswith('af'):
    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('aff'):
     161        elif self.target is not None and self.target.startswith('af'):
    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('aff'):
     213        elif self.target is not None and self.target.startswith('af'):
    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('aff'):
     251        elif self.target is not None and self.target.startswith('af'):
    252252            form_fields = grok.AutoFields(INigeriaUGApplicantEdit)
    253253            for field in AFFIL_OMIT_EDIT_FIELDS:
Note: See TracChangeset for help on using the changeset viewer.