Changeset 8980 for main


Ignore:
Timestamp:
12 Jul 2012, 08:53:15 (12 years ago)
Author:
Henrik Bettermann
Message:

Merged with waeup.fceokene 8978:8979.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue

  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py

    r8931 r8980  
    3333    INigeriaUGApplicant, INigeriaPGApplicant,
    3434    INigeriaApplicantOnlinePayment,
     35    INigeriaUGApplicantEdit, INigeriaPGApplicantEdit,
     36    INigeriaApplicantUpdateByRegNo,
     37    IPUTMEApplicantEdit,
    3538    UG_OMIT_DISPLAY_FIELDS,
    3639    UG_OMIT_PDF_FIELDS,
     
    8285        """
    8386
    84 class ICustomUGApplicantEdit(ICustomUGApplicant):
     87class ICustomUGApplicantEdit(INigeriaUGApplicantEdit):
    8588    """An undergraduate applicant interface for edit forms.
    8689
     
    9497    """
    9598
    96     email = schema.ASCIILine(
    97         title = _(u'Email Address'),
    98         required = True,
    99         constraint=validate_email,
    100         )
    101     date_of_birth = FormattedDate(
    102         title = _(u'Date of Birth'),
    103         required = True,
    104         show_year = True,
    105         )
    106 
    107 ICustomUGApplicantEdit[
    108     'date_of_birth'].order =  ICustomUGApplicant['date_of_birth'].order
    109 ICustomUGApplicantEdit[
    110     'email'].order =  ICustomUGApplicant['email'].order
    111 
    112 class ICustomPGApplicantEdit(ICustomPGApplicant):
     99class ICustomPGApplicantEdit(INigeriaPGApplicantEdit):
    113100    """A postgraduate applicant interface for editing.
    114101
     
    122109    """
    123110
    124     email = schema.ASCIILine(
    125         title = _(u'Email Address'),
    126         required = True,
    127         constraint=validate_email,
    128         )
    129     date_of_birth = FormattedDate(
    130         title = _(u'Date of Birth'),
    131         required = True,
    132         show_year = True,
    133         )
    134 
    135 ICustomPGApplicantEdit[
    136     'date_of_birth'].order =  ICustomPGApplicant['date_of_birth'].order
    137 ICustomPGApplicantEdit[
    138     'email'].order =  ICustomPGApplicant['email'].order
    139 
    140111class ICustomApplicantOnlinePayment(INigeriaApplicantOnlinePayment):
    141112    """An applicant payment via payment gateways.
     
    143114    """
    144115
    145 class IPUTMEApplicantEdit(ICustomUGApplicant):
     116class IPUTMEApplicantEdit(IPUTMEApplicantEdit):
    146117    """An undergraduate applicant interface for editing.
    147118
     
    154125    respective form page.
    155126    """
    156     email = schema.ASCIILine(
    157         title = _(u'Email Address'),
    158         required = True,
    159         constraint=validate_email,
    160         )
    161     date_of_birth = FormattedDate(
    162         title = _(u'Date of Birth'),
    163         required = True,
    164         show_year = True,
    165         )
    166127
    167 IPUTMEApplicantEdit[
    168     'date_of_birth'].order =  ICustomUGApplicant['date_of_birth'].order
    169 IPUTMEApplicantEdit[
    170     'email'].order =  ICustomUGApplicant['email'].order
    171 
    172 class ICustomApplicantUpdateByRegNo(ICustomApplicant):
     128class ICustomApplicantUpdateByRegNo(INigeriaApplicantUpdateByRegNo):
    173129    """Representation of an applicant.
    174130
     
    176132    the applicant object.
    177133    """
    178     reg_number = schema.TextLine(
    179         title = u'Registration Number',
    180         required = False,
    181         )
     134
Note: See TracChangeset for help on using the changeset viewer.