Changeset 13076 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 19 Jun 2015, 05:49:57 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r13073 r13076 72 72 grok.require('waeup.Public') 73 73 form_fields = grok.AutoFields(IApplicantsRoot) 74 label = _('Applicant Section')74 label = _('Applicants Section') 75 75 pnav = 3 76 76 … … 127 127 grok.template('applicantsrootmanagepage') 128 128 form_fields = grok.AutoFields(IApplicantsRoot) 129 label = _('Manage applicant section')129 label = _('Manage applicants section') 130 130 pnav = 3 131 131 grok.require('waeup.manageApplication') -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py
r13031 r13076 476 476 477 477 This reduced interface is for former students or students who are not 478 users of the portal but have to pay supplementary fees.478 student users of the portal but have to pay supplementary fees. 479 479 480 480 This interface is used in browser components only. Thus we can't add -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r13073 r13076 204 204 self.assertRaises( 205 205 LinkNotFoundError, 206 self.browser.getLink, 'Manage applicant section')206 self.browser.getLink, 'Manage applicants 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 applicant section' in self.browser.contents)218 self.assertTrue('Manage applicants section' in self.browser.contents) 219 219 # There is a manage link 220 link = self.browser.getLink('Manage applicant section')220 link = self.browser.getLink('Manage applicants 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 applicant section' in self.browser.contents)254 self.assertTrue('Manage applicants 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 applicant section' in self.browser.contents)564 self.assertFalse('Manage applicants 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
r13073 r13076 16 16 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 17 17 ## 18 """General helper functions and utilities for the applicant section.18 """General helper functions and utilities for the applicants section. 19 19 """ 20 20 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r13073 r13076 97 97 grok.view(ApplicantsRootPage) 98 98 grok.require('waeup.manageApplication') 99 text = _('Manage applicant section')99 text = _('Manage applicants section') 100 100 101 101 class ApplicantRegisterActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.