Ignore:
Timestamp:
2 Nov 2012, 05:02:41 (12 years ago)
Author:
Henrik Bettermann
Message:

Add second 'O' level record.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
Files:
2 edited

Legend:

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

    r9497 r9500  
    8686        )
    8787    olevel_type = schema.Choice(
    88         title = _(u'Qualification Obtained'),
     88        title = _(u'1st Qualification Obtained'),
    8989        required = False,
    9090        readonly = False,
     
    9292        )
    9393    olevel_school = schema.TextLine(
    94         title = _(u'Institution Attended'),
     94        title = _(u'1st Institution Attended'),
    9595        required = False,
    9696        readonly = False,
    9797        )
    9898    olevel_exam_number = schema.TextLine(
    99         title = _(u'Exam Number'),
     99        title = _(u'1st Exam Number'),
    100100        required = False,
    101101        readonly = False,
    102102        )
    103103    olevel_exam_date = FormattedDate(
    104         title = _(u'Exam Date'),
     104        title = _(u'1st Exam Date'),
    105105        required = False,
    106106        readonly = False,
     
    108108        )
    109109    olevel_results = schema.List(
    110         title = _(u'Exam Results'),
     110        title = _(u'1st Exam Results'),
     111        value_type = ResultEntryField(),
     112        required = False,
     113        readonly = False,
     114        default = [],
     115        )
     116    olevel_type2 = schema.Choice(
     117        title = _(u'2nd Qualification Obtained'),
     118        required = False,
     119        readonly = False,
     120        vocabulary = exam_types,
     121        )
     122    olevel_school2 = schema.TextLine(
     123        title = _(u'2nd Institution Attended'),
     124        required = False,
     125        readonly = False,
     126        )
     127    olevel_exam_number2 = schema.TextLine(
     128        title = _(u'2nd Exam Number'),
     129        required = False,
     130        readonly = False,
     131        )
     132    olevel_exam_date2 = FormattedDate(
     133        title = _(u'2nd Exam Date'),
     134        required = False,
     135        readonly = False,
     136        show_year = True,
     137        )
     138    olevel_results2 = schema.List(
     139        title = _(u'2nd Exam Results'),
    111140        value_type = ResultEntryField(),
    112141        required = False,
  • main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/utils.py

    r9463 r9500  
    5252        'form.pp_school': _(u'Post Primary School Qualification'),
    5353        'form.presently_inst': _(u'Presently attending a course or programme'),
    54         'form.olevel_type': _(u"'O' Level Record"),
     54        'form.olevel_type': _(u"'O' Level Records"),
    5555        }
Note: See TracChangeset for help on using the changeset viewer.