Changeset 14054 for main/waeup.uniben
- Timestamp:
- 6 Aug 2016, 05:01:07 (8 years ago)
- Location:
- main/waeup.uniben/trunk/src/waeup/uniben/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.uniben/trunk/src/waeup/uniben/applicants/browser.py
r13947 r14054 374 374 375 375 def _getPDFCreator(self): 376 if 'af ak' in self.target:376 if 'afk' in self.target: 377 377 return getUtility(IPDFCreator, name='akoka_pdfcreator') 378 378 return getUtility(IPDFCreator) … … 397 397 return '%s - Registration Record %s' % (container_title, 398 398 self.context.application_number) 399 elif 'af as' in self.target:399 elif 'afs' in self.target: 400 400 return 'Federal College of Education (Technical) Asaba - %s %s %s' % ( 401 401 container_title, ar_translation, 402 402 self.context.application_number) 403 elif 'af ak' in self.target:403 elif 'afk' in self.target: 404 404 return 'Federal College of Education (Technical) Akoka - %s %s %s' % ( 405 405 container_title, ar_translation, -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py
r13819 r14054 191 191 delattr(ApplicantsContainer, 'prefix') 192 192 # ... and replace by akoka 193 self.applicantscontainer.prefix = 'af ak'193 self.applicantscontainer.prefix = 'afk' 194 194 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 195 195 self.slip_path = self.view_path + '/application_slip.pdf' -
main/waeup.uniben/trunk/src/waeup/uniben/applicants/utils.py
r13947 r14054 50 50 'pre': ['Pre-Degree Studies', 'PRE'], 51 51 'cbt': ['UNIBEN CBT Practice Test', 'CBT'], 52 'afas': ['Asaba Programmes', 'ASA'], 53 'afak': ['Akoka Programmes', 'AKO'], 52 'afs': ['Asaba Programmes', 'ASA'], 53 'afk': ['Akoka Programmes', 'AKO'], 54 'afka': ['Asaba Programmes (1st supplementary advert)', 'ASA'], 55 'afkb': ['Akoka Programmes (2nd supplementary advert)', 'AKO'], 54 56 'ictwk': ['ICT Week Registration', 'ICT'], 55 57 'ase': ['Uniben Admission Screening Exercise', 'ASE'],
Note: See TracChangeset for help on using the changeset viewer.