Changeset 15169


Ignore:
Timestamp:
24 Sep 2018, 06:47:52 (6 years ago)
Author:
Henrik Bettermann
Message:

Re-organize ug application forms.

Location:
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants
Files:
2 edited

Legend:

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

    r15131 r15169  
    6262# UG students are all undergraduate students.
    6363UG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + (
    64     'jamb_subjects_list', 'programme_type')
     64    'jamb_subjects', 'programme_type')
    6565UG_OMIT_PDF_FIELDS = UG_OMIT_DISPLAY_FIELDS + ('phone',)
    6666UG_OMIT_MANAGE_FIELDS = (
    6767    'special_application',
    68     'jamb_subjects_list',
     68    'jamb_subjects',
    6969    'programme_type')
    70 UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + (
     70UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + UG_OMIT_DISPLAY_FIELDS + (
    7171    'student_id',
    7272    'notice',
     
    9292            form_fields = form_fields.omit(field)
    9393        form_fields['notice'].custom_widget = BytesDisplayWidget
    94         form_fields['jamb_subjects'].custom_widget = BytesDisplayWidget
     94        #form_fields['jamb_subjects'].custom_widget = BytesDisplayWidget
    9595        if not getattr(self.context, 'student_id'):
    9696            form_fields = form_fields.omit('student_id')
  • main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/applicants/interfaces.py

    r15087 r15169  
    4040from kofacustom.edopoly.payments.interfaces import ICustomOnlinePayment
    4141
    42 class ICustomUGApplicant(INigeriaUGApplicant):
     42class ICustomUGApplicant(IApplicantBaseData):
    4343    """An undergraduate applicant.
    4444
Note: See TracChangeset for help on using the changeset viewer.