Changeset 17652 for main/kofacustom.unidel/trunk/src
- Timestamp:
- 3 Dec 2023, 11:29:17 (13 months ago)
- Location:
- main/kofacustom.unidel/trunk/src/kofacustom/unidel
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/applicants/browser.py
r17479 r17652 158 158 for field in PG_OMIT_EDIT_FIELDS: 159 159 form_fields = form_fields.omit(field) 160 elif getattr(self.context.__parent__, 'code', None) == 'ase2023': 161 form_fields = grok.AutoFields(ICustomUGApplicantEdit) 162 temp_UG_OMIT_EDIT_FIELDS = list(UG_OMIT_EDIT_FIELDS) 163 for x in ('jamb_subjects', 164 'jamb_score', 165 'jamb_reg_number', 166 'lga',): 167 temp_UG_OMIT_EDIT_FIELDS.remove(x) 168 for field in temp_UG_OMIT_EDIT_FIELDS: 169 form_fields = form_fields.omit(field) 160 170 else: 161 171 form_fields = grok.AutoFields(ICustomUGApplicantEdit) -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/applicants/interfaces.py
r17589 r17652 207 207 readonly = False, 208 208 ) 209 jamb_reg_number = schema.TextLine( 210 title = _(u'JAMB Registration Number'), 211 required = False, 212 constraint=validate_jamb_reg_number, 213 ) 209 214 jamb_subjects = schema.Text( 210 215 title = _(u'Subjects and Scores'), … … 228 233 # required = False, 229 234 # ) 230 #jamb_reg_number = schema.TextLine(231 # title = _(u'JAMB Registration Number'),232 # required = False,233 # constraint=validate_jamb_reg_number,234 # )235 235 notice = schema.Text( 236 236 title = _(u'Notice'), -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/applicants/tests/test_browser.py
r16721 r17652 36 36 37 37 layer = FunctionalLayer 38 39 def test_applicant_access(self): 40 # Applicants can edit their record 41 self.browser.open(self.login_path) 42 self.login() 43 self.assertTrue( 44 'You logged in as an applicant.' in self.browser.contents) 45 self.browser.open(self.edit_path) 46 return 38 47 39 48 class ApplicantExporterTest(ApplicantImportExportSetup): -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/applicants/utils.py
r17554 r17652 43 43 'law': ['Certificate in Law Programme', 'CL'], 44 44 } 45 46 SEPARATORS_DICT = { 47 'form.applicant_id': _(u'Base Data'), 48 'form.course1': _(u'Programmes/Courses Desired'), 49 'form.hq_type': _(u'Higher Education Record'), 50 'form.presently': _(u'Course or Programme Presently Attending'), 51 'form.nysc_year': _(u'NYSC Information'), 52 'form.employer': _(u'Employment History'), 53 'form.jamb_reg_number': _(u'JAMB Data'), 54 #'form.jamb_subjects': _(u'JAMB Data'), 55 #'form.jamb_subjects_list': _(u'JAMB Data'), 56 'form.notice': _(u'Application Process Information'), 57 'form.pp_school': _(u'Post Primary School Qualification'), 58 'form.presently_inst': _(u'Presently attending a course or programme'), 59 'form.fst_sit_fname': _(u'First Sitting Record'), 60 'form.scd_sit_fname': _(u'Second Sitting Record'), 61 'form.referees': _(u'Referees'), 62 } -
main/kofacustom.unidel/trunk/src/kofacustom/unidel/locales/en/LC_MESSAGES/waeup.kofa.po
r17476 r17652 14 14 15 15 msgid "Registration Number" 16 msgstr " (JAMB) Registration Number"16 msgstr "Registration Number (JAMB)"
Note: See TracChangeset for help on using the changeset viewer.