Changeset 13945 for main


Ignore:
Timestamp:
15 Jun 2016, 10:55:25 (9 years ago)
Author:
Henrik Bettermann
Message:

PUTME is obsolete (at least at Uniben). Rename putme to ase (Admission Screening Exercise).

Location:
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria
Files:
4 edited

Legend:

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

    r13556 r13945  
    110110            for field in AFFIL_OMIT_DISPLAY_FIELDS:
    111111                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
    113113            form_fields = grok.AutoFields(INigeriaUGApplicant)
    114114            for field in PUTME_OMIT_DISPLAY_FIELDS:
     
    163163            for field in AFFIL_OMIT_PDF_FIELDS:
    164164                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
    166166            form_fields = grok.AutoFields(INigeriaUGApplicant)
    167167            if self._reduced_slip():
     
    215215            for field in AFFIL_OMIT_MANAGE_FIELDS:
    216216                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
    218218            form_fields = grok.AutoFields(INigeriaUGApplicant)
    219219            for field in PUTME_OMIT_MANAGE_FIELDS:
     
    253253            for field in AFFIL_OMIT_EDIT_FIELDS:
    254254                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
    256256            form_fields = grok.AutoFields(IPUTMEApplicantEdit)
    257257            for field in PUTME_OMIT_EDIT_FIELDS:
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/interfaces.py

    r13744 r13945  
    4343    (_('Post UTME'), 'putme'),
    4444    (_('Post DE'), 'pude'),
     45    (_('Admission Screening Exercise'), 'ase'),
    4546    (_('not applicable'), 'na'),
    4647    )
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/utils.py

    r13160 r13945  
    4343        'pre': ['Pre-Degree Studies', 'PRE'],
    4444        'cbt': ['CBT Practice Test', 'CBT'],
     45        'ase': ['Admission Screening Exercise', 'ASE'], # successor of putme
    4546        }
    4647
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/utils/utils.py

    r13703 r13945  
    265265
    266266    APP_CATS_DICT = {
    267         'basic': 'PUTME, PUDE, PCE, PRENCE',
     267        'basic': 'UAS, PUTME, PUDE, PCE, PRENCE',
    268268        'no': 'No Application',
    269269        'pg_ft': 'Postgraduate Full-Time',
Note: See TracChangeset for help on using the changeset viewer.