Changeset 14203 for main


Ignore:
Timestamp:
29 Sep 2016, 07:17:39 (8 years ago)
Author:
Henrik Bettermann
Message:

Add more fields.

Location:
main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/fileviewlets.py

    r14199 r14203  
    4646    label = _(u'JPG File')
    4747    title = _(u'JPG File')
    48     mus = 1024 * 250
     48    mus = 1024 * 1000
    4949    download_name = u'scan.jpg'
    5050    tab_redirect = '#tab2'
  • main/ikobacustom.uniben/trunk/src/ikobacustom/uniben/customers/interfaces.py

    r14199 r14203  
    112112    nominee_email = schema.ASCIILine(
    113113        title = _(u'Uniben Email Address'),
    114         required = True,
     114        required = False,
    115115        constraint=validate_uniben_email,
    116116        )
     
    201201        )
    202202
    203     doc1 = schema.Choice(
     203    vitae_doc = schema.Choice(
    204204        title = _(u'Curriculum Vitae'),
    205205        source = CustomerDocumentSource(),
     
    209209        )
    210210
    211     doc2 = schema.Choice(
    212         title = _(u'Reference Letters'),
    213         source = CustomerDocumentSource(),
    214         description = u'Reference letters from three referees '
    215                        'added together in a pdf document',
    216         required = False,
    217         )
    218 
    219     doc3 = schema.Choice(
     211    ref1_doc = schema.Choice(
     212        title = _(u'Reference Letter 1'),
     213        source = CustomerDocumentSource(),
     214        required = False,
     215        )
     216
     217   ref2_ doc = schema.Choice(
     218        title = _(u'Reference Letter 2'),
     219        source = CustomerDocumentSource(),
     220        required = False,
     221        )
     222
     223    ref3_doc = schema.Choice(
     224        title = _(u'Reference Letter 3'),
     225        source = CustomerDocumentSource(),
     226        required = False,
     227        )
     228
     229    photo1 = schema.Choice(
    220230        title = _(u'Photo or Illustration 1'),
    221231        source = CustomerDocumentSource(),
     
    225235
    226236
    227     doc4 = schema.Choice(
     237    photo2 = schema.Choice(
    228238        title = _(u'Photo or Illustration 2'),
    229239        source = CustomerDocumentSource(),
     
    232242        )
    233243
    234     doc5 = schema.Choice(
     244    photo3 = schema.Choice(
    235245        title = _(u'Photo or Illustration 3'),
    236246        source = CustomerDocumentSource(),
Note: See TracChangeset for help on using the changeset viewer.