Changeset 16070
- Timestamp:
- 24 Apr 2020, 06:59:45 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r16062 r16070 30 30 RefereeReportDisplayFormPage) 31 31 from waeup.kofa.applicants.interfaces import ( 32 ISpecialApplicant, IApplicantsContainer )32 ISpecialApplicant, IApplicantsContainer, AppCatCertificateSource) 33 33 from kofacustom.nigeria.applicants.browser import ( 34 34 NigeriaApplicantDisplayFormPage, … … 162 162 163 163 @property 164 def certs(self): 165 appcatcertificatesource = AppCatCertificateSource().factory 166 for code in appcatcertificatesource.getValues(self.context): 167 title = appcatcertificatesource.getTitle(self.context, code) 168 yield(code, title) 169 170 @property 164 171 def display_refereereports(self): 165 172 if self.context.refereereports: … … 184 191 """An applicant-centered edit view for applicant data. 185 192 """ 193 194 grok.template('applicanteditpage') 186 195 187 196 def display_fileupload(self, filename): -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/utils.py
r16062 r16070 91 91 """ 92 92 try: title = "%s / %s / %s (%s)" % ( 93 value.__parent__.__parent__.__parent__. longtitle,94 value.__parent__.__parent__. longtitle,93 value.__parent__.__parent__.__parent__.title, 94 value.__parent__.__parent__.title, 95 95 value.title, value.code) 96 96 except AttributeError:
Note: See TracChangeset for help on using the changeset viewer.