Changeset 10788 for main/kofacustom.ekodisco/trunk/src
- Timestamp:
- 22 Nov 2013, 07:12:48 (11 years ago)
- Location:
- main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco
- Files:
-
- 2 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/browser.py
r10770 r10788 21 21 from waeup.kofa.applicants.browser import ( 22 22 ApplicantRegistrationPage, ApplicantsContainerPage) 23 from waeup.kofa.applicants.interfaces import IApplicant, IApplicantEdit 23 24 from kofacustom.nigeria.applicants.browser import ( 24 25 NigeriaApplicantDisplayFormPage, 25 NigeriaPDFApplicationSlip) 26 NigeriaPDFApplicationSlip, 27 ApplicantDisplayFormPage, 28 ApplicantManageFormPage, 29 ApplicantEditFormPage) 26 30 27 31 from kofacustom.ekodisco.interfaces import MessageFactory as _ 28 32 33 class CustomApplicantDisplayFormPage(ApplicantDisplayFormPage): 34 """A display view for applicant data. 35 """ 36 grok.template('applicantdisplaypage') 37 38 form_fields = grok.AutoFields(IApplicant).omit( 39 'locked', 'course_admitted', 'password', 'suspended', 40 'course2', 'notice', 'student_id') 41 42 class CustomApplicantManageFormPage(ApplicantManageFormPage): 43 """A full edit view for applicant data. 44 """ 45 grok.template('applicanteditpage') 46 47 form_fields = grok.AutoFields(IApplicant).omit('course2', 'notice', 'student_id') 48 form_fields['applicant_id'].for_display = True 49 50 class CustomApplicantEditFormPage(ApplicantEditFormPage): 51 """An applicant-centered edit view for applicant data. 52 """ 53 grok.template('applicanteditpage') 54 55 form_fields = grok.AutoFields(IApplicantEdit).omit( 56 'locked', 'course_admitted', 'student_id', 57 'suspended', 'course2', 'notice' 58 ) 59 form_fields['applicant_id'].for_display = True 60 form_fields['reg_number'].for_display = True -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/applicants/utils.py
r10783 r10788 35 35 'fossil': ['Fossil Energy', 'FS'], 36 36 } 37 38 SEPARATORS_DICT = { 39 } -
main/kofacustom.ekodisco/trunk/src/kofacustom/ekodisco/locales/en/LC_MESSAGES/waeup.kofa.po
r10784 r10788 175 175 msgstr "Assigned Contract:" 176 176 177 msgid "Admitted Course of Study" 178 msgstr "Assigned Contract" 179 177 180 msgid "1st Choice Course of Study" 178 181 msgstr "Desired Contract"
Note: See TracChangeset for help on using the changeset viewer.