Ignore:
Timestamp:
22 Jun 2016, 12:57:47 (8 years ago)
Author:
Henrik Bettermann
Message:

Add first components for referee reports.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 added
1 edited

Legend:

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

    r13971 r13972  
    628628        """Approve payment and process applicant.
    629629        """
     630
     631class IApplicantRefereeReport(IKofaObject):
     632    """A referee report.
     633    """
     634
     635    r_id = Attribute('Report identifier')
     636
     637    name = schema.TextLine(
     638        title = _(u'Name'),
     639        required = True,
     640        )
     641
     642    email = schema.ASCIILine(
     643        title = _(u'Email Address'),
     644        required = False,
     645        constraint=validate_email,
     646        )
     647
     648    phone = PhoneNumber(
     649        title = _(u'Phone'),
     650        description = u'',
     651        required = False,
     652        )
     653
     654    report = schema.Text(
     655        title = _(u'Report'),
     656        required = False,
     657        )
Note: See TracChangeset for help on using the changeset viewer.