Changeset 8649


Ignore:
Timestamp:
7 Jun 2012, 18:40:48 (12 years ago)
Author:
Henrik Bettermann
Message:

See waeup.uniben.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py

    r8584 r8649  
    328328    """
    329329
     330    email = schema.ASCIILine(
     331        title = _(u'Email Address'),
     332        required = True,
     333        constraint=validate_email,
     334        )
     335    date_of_birth = FormattedDate(
     336        title = _(u'Date of Birth'),
     337        required = True,
     338        show_year = True,
     339        )
     340
     341IUGApplicantEdit[
     342    'date_of_birth'].order =  IUGApplicant['date_of_birth'].order
     343IUGApplicantEdit[
     344    'email'].order =  IUGApplicant['email'].order
     345
    330346class IPGApplicantEdit(IPGApplicant):
    331347    """A postgraduate applicant interface for editing.
     
    340356    """
    341357
     358    email = schema.ASCIILine(
     359        title = _(u'Email Address'),
     360        required = True,
     361        constraint=validate_email,
     362        )
     363    date_of_birth = FormattedDate(
     364        title = _(u'Date of Birth'),
     365        required = True,
     366        show_year = True,
     367        )
     368
     369IPGApplicantEdit[
     370    'date_of_birth'].order =  IPGApplicant['date_of_birth'].order
     371IPGApplicantEdit[
     372    'email'].order =  IPGApplicant['email'].order
     373
    342374class ICustomApplicantOnlinePayment(ICustomOnlinePayment):
    343375    """An applicant payment via payment gateways.
Note: See TracChangeset for help on using the changeset viewer.