source: products/ploneorg.kudobounty/trunk/ploneorg/kudobounty/interfaces/bountyprogramsubmission.py @ 3129

Last change on this file since 3129 was 3129, checked in by mylan, 13 years ago

Initial import of the package

  • Property svn:eol-style set to native
File size: 1.2 KB
RevLine 
[3129]1from zope.interface import Interface
2# -*- Additional Imports Here -*-
3from zope import schema
4
5from ploneorg.kudobounty import kudobountyMessageFactory as _
6
7
8class IBountyProgramSubmission(Interface):
9    """Information for Bounty Program Submission"""
10
11    # -*- schema definition goes here -*-
12    mission = schema.Text(
13        title=_(u"Bounty mission"),
14        required=True,
15        description=_(u"Bounty mission trac ticket #"),
16    )
17#
18    email = schema.TextLine(
19        title=_(u"Email address"),
20        required=False,
21    )
22#
23    organization = schema.TextLine(
24        title=_(u"Organization name"),
25        required=False,
26    )
27#
28    lastName = schema.TextLine(
29        title=_(u"Last name"),
30        required=False,
31    )
32#
33    firstName = schema.TextLine(
34        title=_(u"First name"),
35        required=False,
36    )
37#
38    # altText = schema.TextLine(
39    #     title=_(u"alt text"),
40    #     required=False,
41    #     description=_(u"Field description"),
42    # )
43#
44    remoteUrl = schema.TextLine(
45        title=_(u"URL"),
46        required=True,
47    )
48#
49    image = schema.Bytes(
50        title=_(u"Image"),
51        required=True,
52        description=_(u"Image or Logo"),
53    )
54#
Note: See TracBrowser for help on using the repository browser.