Changeset 13557 for main/waeup.uniben/trunk/src/waeup
- Timestamp:
- 21 Dec 2015, 15:30:08 (9 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r13552 r13557 37 37 NigeriaApplicantManageFormPage, 38 38 NigeriaPDFApplicationSlip) 39 from waeup.kofa.applicants.pdf import PDFApplicationSlip40 39 from waeup.uniben.applicants.interfaces import ( 41 40 ICustomApplicant) … … 274 273 return 275 274 276 class CustomPDFApplicationSlip( PDFApplicationSlip):275 class CustomPDFApplicationSlip(NigeriaPDFApplicationSlip): 277 276 278 277 @property … … 282 281 ar_translation = translate(_('Application Record'), 283 282 'waeup.kofa', target_language=portal_language) 284 if 'af filasa' in self.target:283 if 'afas' in self.target: 285 284 return 'Federal College of Education (Technical) Asaba - %s %s %s' % ( 286 285 container_title, ar_translation, 287 286 self.context.application_number) 288 if 'af filako' in self.target:287 if 'afak' in self.target: 289 288 return 'Federal College of Education (Technical) Akoka - %s %s %s' % ( 290 289 container_title, ar_translation, -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r13552 r13557 169 169 delattr(ApplicantsContainer, 'prefix') 170 170 # ... and replace by asaba 171 self.applicantscontainer.prefix = 'af filasa'171 self.applicantscontainer.prefix = 'afas' 172 172 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 173 173 self.slip_path = self.view_path + '/application_slip.pdf' -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r13552 r13557 48 48 'pre': ['Pre-Degree Studies', 'PRE'], 49 49 'cbt': ['UNIBEN CBT Practice Test', 'CBT'], 50 'af filasa': ['Asaba Programmes', 'ASA'],51 'af filako': ['Akoka Programmes', 'AKO'],50 'afas': ['Asaba Programmes', 'ASA'], 51 'afak': ['Akoka Programmes', 'AKO'], 52 52 } 53 53
Note: See TracChangeset for help on using the changeset viewer.