Changeset 15118


Ignore:
Timestamp:
3 Sep 2018, 07:22:10 (6 years ago)
Author:
Henrik Bettermann
Message:

Add field.

File:
1 edited

Legend:

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

    r15099 r15118  
    5252    )
    5353
     54certificate_types_vocab = SimpleKofaVocabulary(
     55    (_('Full-time Degree'), 'ft'),
     56    (_('Part-time Degree'), 'pt'),
     57    (_('Diploma'), 'dp'),
     58    (_('Masters Degree'), 'ma'),
     59    (_('Doctorate Degree'), 'phd'),
     60    )
     61
    5462class ICustomUGApplicant(IApplicantBaseData):
    5563    """An undergraduate applicant.
     
    766774        required = True,
    767775        readonly = False,
     776        )
     777
     778    certificate_type = schema.Choice(
     779        title = _(u'Certificate Type'),
     780        vocabulary = certificate_types_vocab,
     781        required = True,
    768782        )
    769783
Note: See TracChangeset for help on using the changeset viewer.