Changeset 13073
- Timestamp:
- 18 Jun 2015, 08:13:49 (9 years ago)
- Location:
- main/waeup.kofa/trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/CHANGES.txt
r13055 r13073 4 4 1.3.2.dev0 (unreleased) 5 5 ======================= 6 7 * Rename 'application section' for the sake of consistency. 6 8 7 9 * Rename student views which are not layout-aware and thus not pages. -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py
r12565 r13073 375 375 """If an applicant is removed a message is logged. 376 376 """ 377 comment = 'Applica ntrecord removed'377 comment = 'Application record removed' 378 378 target = applicant.applicant_id 379 379 try: -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r12893 r13073 72 72 grok.require('waeup.Public') 73 73 form_fields = grok.AutoFields(IApplicantsRoot) 74 label = _('Applica tionSection')74 label = _('Applicant Section') 75 75 pnav = 3 76 76 … … 127 127 grok.template('applicantsrootmanagepage') 128 128 form_fields = grok.AutoFields(IApplicantsRoot) 129 label = _('Manage applica tionsection')129 label = _('Manage applicant section') 130 130 pnav = 3 131 131 grok.require('waeup.manageApplication') … … 469 469 self.applyData(applicant, **data) 470 470 self.context.addApplicant(applicant) 471 self.flash(_('Applica ntrecord created.'))471 self.flash(_('Application record created.')) 472 472 self.redirect( 473 473 self.url(self.context[applicant.application_number], 'index')) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py
r12394 r13073 412 412 # Logging message from handle_applicant_transition_event 413 413 self.assertTrue( 414 'dp2011_1234 - Applica ntrecord removed' in415 logcontent) 416 shutil.rmtree(os.path.dirname(fin_file)) 414 'dp2011_1234 - Application record removed' in 415 logcontent) 416 shutil.rmtree(os.path.dirname(fin_file)) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r12893 r13073 158 158 159 159 def login(self): 160 # Perform an applicant login. This creates an applica ntrecord.160 # Perform an applicant login. This creates an application record. 161 161 # 162 162 # This helper also sets `self.applicant`, which is the … … 204 204 self.assertRaises( 205 205 LinkNotFoundError, 206 self.browser.getLink, 'Manage applica tionsection')206 self.browser.getLink, 'Manage applicant section') 207 207 self.assertRaises( 208 208 Unauthorized, self.browser.open, self.manage_root_path) … … 216 216 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw') 217 217 self.browser.open(self.root_path) 218 self.assertTrue('Manage applica tionsection' in self.browser.contents)218 self.assertTrue('Manage applicant section' in self.browser.contents) 219 219 # There is a manage link 220 link = self.browser.getLink('Manage applica tionsection')220 link = self.browser.getLink('Manage applicant section') 221 221 link.click() 222 222 self.assertEqual(self.browser.headers['Status'], '200 Ok') … … 252 252 self.browser.getControl("Save").click() 253 253 self.browser.open(self.root_path) 254 self.assertTrue('Manage applica tionsection' in self.browser.contents)254 self.assertTrue('Manage applicant section' in self.browser.contents) 255 255 # There is a search link 256 256 link = self.browser.getLink('Find applicants') … … 562 562 self.assertEqual(self.browser.headers['Status'], '200 Ok') 563 563 self.assertFalse('Search' in self.browser.contents) 564 self.assertFalse('Manage applica tionsection' in self.browser.contents)564 self.assertFalse('Manage applicant section' in self.browser.contents) 565 565 # ... and can't access the manage page 566 566 self.assertRaises( -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py
r11575 r13073 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """General helper functions and utilities for the applica tionsection.18 """General helper functions and utilities for the applicant section. 19 19 """ 20 20 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r11874 r13073 97 97 grok.view(ApplicantsRootPage) 98 98 grok.require('waeup.manageApplication') 99 text = _('Manage applica tionsection')99 text = _('Manage applicant section') 100 100 101 101 class ApplicantRegisterActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.