Changeset 8101 for main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Timestamp:
- 11 Apr 2012, 07:54:10 (13 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/interfaces.py
r8071 r8101 26 26 from waeup.kofa.interfaces import SimpleKofaVocabulary 27 27 from waeup.kofa.students.vocabularies import nats_vocab 28 from waeup.uniben.interfaces import lgas_vocab 28 from waeup.uniben.interfaces import ( 29 lgas_vocab, high_qual, high_grade, exam_types) 29 30 from waeup.uniben.interfaces import MessageFactory as _ 30 31 high_qual = SimpleKofaVocabulary(32 ('National Certificate of Education','nce'),33 ('Pre Degree Programme','pre'),34 ('Diploma Programme','dip'),35 ('Ordinary National Diploma','ond'),36 ('Bachelors Degree','bd'),37 ('Masters Degree','md'),38 ('Professional Qualification','pq'),39 ('Other Certification','oc'),40 ('Higher National Diploma','hnd'),41 ('NCE AL OTH','nce_al_oth'),42 ('National Defence Academy','nda'),43 ('Awaiting Results','a_rslt'),44 ('RMC','rmc'),45 )46 47 high_grade = SimpleKofaVocabulary(48 ('Upper Credit','upper_credit'),49 ('Distinction','distinction'),50 ('Credit','credit'),51 ('Merit','merit'),52 ('Lower Credit','lower_credit'),53 ('First Class','first_class'),54 ('Second Class Upper','second_class_upper'),55 ('Second Class Lower','second_class_lower'),56 ('Third Class','third_class'),57 ('Pass','pass'),58 ('Awaiting Results','a_rslt'),59 ('A Levels','al'),60 )61 62 exam_types = SimpleKofaVocabulary(63 ('SSCE','ssce'),64 ('WAEC','waec'),65 ('GCE O\' LEVEL','gce_o_level'),66 ('TC II','tc_ii'),67 ('RSA','rsa'),68 ('NABTEB','nabteb'),69 ('NECO','neco'),70 ('ACE','ace'),71 ('GCE A\' LEVEL','gce_a_level'),72 ('IGCSE','igcse'),73 )74 31 75 32 class IUGApplicant(IApplicantBaseData): … … 162 119 readonly = False, 163 120 vocabulary = exam_types, 121 ) 122 #presently = schema.Bool( 123 # title = _(u'Attending'), 124 # required = False, 125 # readonly = False, 126 # ) 127 presently_inst = schema.TextLine( 128 title = _(u'If yes, name of institution'), 129 required = False, 130 readonly = False, 131 ) 132 nysc_year = schema.Int( 133 title = _(u'Nysc Year'), 134 required = False, 135 readonly = False, 136 ) 137 nysc_lga = schema.Choice( 138 source = lgas_vocab, 139 title = _(u'Nysc Location'), 140 required = False, 164 141 ) 165 142 employer = schema.TextLine( -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r8064 r8101 48 48 'form.presently': _(u'Course or Programme Presently Attending'), 49 49 'form.nysc_year': _(u'NYSC Information'), 50 'form.employer': _(u'Employ erHistory'),50 'form.employer': _(u'Employment History'), 51 51 'form.notice': _(u'Application Process Information'), 52 52 'form.pp_school': _(u'Post Primary School Qualification'), 53 'form.presently_inst': _(u'Presently attending a course or programme'), 53 54 }
Note: See TracChangeset for help on using the changeset viewer.