Changeset 16049 for main/kofacustom.iuokada/trunk
- Timestamp:
- 8 Apr 2020, 10:48:10 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r16017 r16049 43 43 #UG_OMIT_MANAGE_FIELDS, 44 44 #UG_OMIT_EDIT_FIELDS, 45 PG_OMIT_DISPLAY_FIELDS,46 PG_OMIT_PDF_FIELDS,47 PG_OMIT_MANAGE_FIELDS,48 PG_OMIT_EDIT_FIELDS,45 #PG_OMIT_DISPLAY_FIELDS, 46 #PG_OMIT_PDF_FIELDS, 47 #PG_OMIT_MANAGE_FIELDS, 48 #PG_OMIT_EDIT_FIELDS, 49 49 ) 50 50 from kofacustom.iuokada.applicants.interfaces import ( … … 78 78 'aggregate') 79 79 80 # PG has its own interface 81 PG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS 82 PG_OMIT_PDF_FIELDS = PG_OMIT_DISPLAY_FIELDS + ('phone',) 83 PG_OMIT_MANAGE_FIELDS = ( 84 'special_application', 85 'employer', 86 'emp_position', 87 'emp_start', 88 'emp_end', 89 'emp_reason', 90 'employer2', 91 'emp2_position', 92 'emp2_start', 93 'emp2_end', 94 'emp2_reason', 95 ) 96 PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + PG_OMIT_DISPLAY_FIELDS + ( 97 'student_id', 'notice', 98 'screening_score', 'screening_venue', 99 'screening_date',) 100 80 101 class CustomApplicantsContainerPage(ApplicantsContainerPage): 81 102 """The standard view for regular applicant containers. … … 142 163 """An applicant-centered edit view for applicant data. 143 164 """ 165 166 @property 167 def display_refereereports(self): 168 return True 144 169 145 170 def display_fileupload(self, filename): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/interfaces.py
r15884 r16049 30 30 from waeup.kofa.applicants.interfaces import ( 31 31 contextual_reg_num_source, IApplicantBaseData) 32 from waeup.kofa.refereeentries import RefereeEntryField 32 33 from kofacustom.nigeria.applicants.interfaces import ( 33 34 LGASource, high_qual, high_grade, exam_types, DisabilitiesSource, … … 325 326 ) 326 327 328 nysc_number = schema.Int( 329 title = _(u'Nysc Number'), 330 required = False, 331 readonly = False, 332 ) 333 334 referees = schema.List( 335 title = _(u'Referees'), 336 value_type = RefereeEntryField(), 337 required = False, 338 defaultFactory=list, 339 ) 340 341 ICustomPGApplicant[ 342 'referees'].order = INigeriaPGApplicant['emp2_reason'].order 327 343 ICustomPGApplicant[ 328 344 'sponsor'].order = ICustomPGApplicant['lga'].order … … 333 349 ICustomPGApplicant[ 334 350 'lga'].order = ICustomPGApplicant['nationality'].order 351 ICustomPGApplicant[ 352 'nysc_number'].order = ICustomPGApplicant['nysc_year'].order 335 353 336 354 class ICustomApplicant(ICustomUGApplicant, ICustomPGApplicant): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py
r16017 r16049 59 59 'form.applicant_id': _(u'Base Data'), 60 60 'form.course1': _(u'Programmes/Courses Desired'), 61 'form.hq_type': _(u'Highe r EducationRecord (Direct Entry and Transfer Applicants)'),61 'form.hq_type': _(u'Highest Educational Record (Direct Entry and Transfer Applicants)'), 62 62 'form.presently': _(u'Course or Programme Presently Attending'), 63 'form.nysc_year': _(u'NYSC Information '),63 'form.nysc_year': _(u'NYSC Information/Exemption Certificate'), 64 64 'form.employer': _(u'Employment History'), 65 65 'form.jamb_subjects': _(u'JAMB Data (All Applicants)'), … … 70 70 'form.fst_sit_fname': _(u'First Sitting Record'), 71 71 'form.scd_sit_fname': _(u'Second Sitting Record'), 72 'form.referees': _(u'Referees '),72 'form.referees': _(u'Referees (will be automatically invited by email after final submission)'), 73 73 'form.parents_name': _(u'Parents / Guardian'), 74 74 } -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/locales/en/LC_MESSAGES/waeup.kofa.po
r16015 r16049 121 121 msgid "Balance Amount" 122 122 msgstr "Custom/Balance Amount" 123 124 msgid "" 125 "Email Address (referees will be automatically invited by email after final " 126 "submission of this form)" 127 msgstr "Email Address"
Note: See TracChangeset for help on using the changeset viewer.