Ignore:
Timestamp:
1 Sep 2012, 15:28:42 (12 years ago)
Author:
Henrik Bettermann
Message:

Omit suspended and adm_code attributes.

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

Legend:

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

    r9072 r9144  
    350350        self.assertTrue(
    351351            'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,'
    352             '"Some notice\nin lines.",,,any password,+234-123-12345,,,'
     352            '"Some notice\nin lines.",,,any password,+234-123-12345#,,,'
    353353            '123456,,"Saturday, 16th June 2012 2:00:00 PM",98,Exam Room,f,'
    354354            'initialized,,0,dp2011'
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/browser.py

    r9053 r9144  
    5555    """ Page to display student base data
    5656    """
    57     form_fields = grok.AutoFields(INigeriaStudentBase).omit('password')
     57    form_fields = grok.AutoFields(INigeriaStudentBase).omit('password', 'suspended')
    5858
    5959class NigeriaStudentBaseManageFormPage(StudentBaseManageFormPage):
    6060    """ View to manage student base data
    6161    """
    62     form_fields = grok.AutoFields(INigeriaStudentBase).omit('student_id')
     62    form_fields = grok.AutoFields(INigeriaStudentBase).omit(
     63        'student_id', 'adm_code', 'suspended')
    6364
    6465class NigeriaStudentBaseEditFormPage(StudentBaseEditFormPage):
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/utils/utils.py

    r9086 r9144  
    193193        'ct_pt': 'Certificate Part Time',
    194194        'rmd_ft': 'Remedial with deficiencies',
    195         'rm_ft': 'Remedial'
     195        'rm_ft': 'Remedial',
     196        'transfer': 'Transfer'
    196197        }
    197198
Note: See TracChangeset for help on using the changeset viewer.