Changeset 8650


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

See waeup.uniben.

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

Legend:

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

    r8619 r8650  
    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.
  • main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser.py

    r8619 r8650  
    103103    if payment.r_code != '00':
    104104        msg = _('Unsuccessful callback: ${a}', mapping = {'a': sr})
    105         log = 'usuccessful callback for payment %s: %s' % (payment.p_id, sr)
     105        log = 'unsuccessful callback for payment %s: %s' % (payment.p_id, sr)
    106106        payment.p_state = 'failed'
    107107        return False, msg, log
Note: See TracChangeset for help on using the changeset viewer.