Ignore:
Timestamp:
18 Jun 2015, 08:13:49 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename 'application section' for the sake of consistency.

Location:
main/waeup.kofa/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r13055 r13073  
    441.3.2.dev0 (unreleased)
    55=======================
     6
     7* Rename 'application section' for the sake of consistency.
    68
    79* Rename student views which are not layout-aware and thus not pages.
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/applicant.py

    r12565 r13073  
    375375    """If an applicant is removed a message is logged.
    376376    """
    377     comment = 'Applicant record removed'
     377    comment = 'Application record removed'
    378378    target = applicant.applicant_id
    379379    try:
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r12893 r13073  
    7272    grok.require('waeup.Public')
    7373    form_fields = grok.AutoFields(IApplicantsRoot)
    74     label = _('Application Section')
     74    label = _('Applicant Section')
    7575    pnav = 3
    7676
     
    127127    grok.template('applicantsrootmanagepage')
    128128    form_fields = grok.AutoFields(IApplicantsRoot)
    129     label = _('Manage application section')
     129    label = _('Manage applicant section')
    130130    pnav = 3
    131131    grok.require('waeup.manageApplication')
     
    469469        self.applyData(applicant, **data)
    470470        self.context.addApplicant(applicant)
    471         self.flash(_('Applicant record created.'))
     471        self.flash(_('Application record created.'))
    472472        self.redirect(
    473473            self.url(self.context[applicant.application_number], 'index'))
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_batching.py

    r12394 r13073  
    412412        # Logging message from handle_applicant_transition_event
    413413        self.assertTrue(
    414             'dp2011_1234 - Applicant record removed' in
    415             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  
    158158
    159159    def login(self):
    160         # Perform an applicant login. This creates an applicant record.
     160        # Perform an applicant login. This creates an application record.
    161161        #
    162162        # This helper also sets `self.applicant`, which is the
     
    204204        self.assertRaises(
    205205            LinkNotFoundError,
    206             self.browser.getLink, 'Manage application section')
     206            self.browser.getLink, 'Manage applicant section')
    207207        self.assertRaises(
    208208            Unauthorized, self.browser.open, self.manage_root_path)
     
    216216        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    217217        self.browser.open(self.root_path)
    218         self.assertTrue('Manage application section' in self.browser.contents)
     218        self.assertTrue('Manage applicant section' in self.browser.contents)
    219219        # There is a manage link
    220         link = self.browser.getLink('Manage application section')
     220        link = self.browser.getLink('Manage applicant section')
    221221        link.click()
    222222        self.assertEqual(self.browser.headers['Status'], '200 Ok')
     
    252252        self.browser.getControl("Save").click()
    253253        self.browser.open(self.root_path)
    254         self.assertTrue('Manage application section' in self.browser.contents)
     254        self.assertTrue('Manage applicant section' in self.browser.contents)
    255255        # There is a search link
    256256        link = self.browser.getLink('Find applicants')
     
    562562        self.assertEqual(self.browser.headers['Status'], '200 Ok')
    563563        self.assertFalse('Search' in self.browser.contents)
    564         self.assertFalse('Manage application section' in self.browser.contents)
     564        self.assertFalse('Manage applicant section' in self.browser.contents)
    565565        # ... and can't access the manage page
    566566        self.assertRaises(
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/utils.py

    r11575 r13073  
    1616## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    1717##
    18 """General helper functions and utilities for the application section.
     18"""General helper functions and utilities for the applicant section.
    1919"""
    2020
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r11874 r13073  
    9797    grok.view(ApplicantsRootPage)
    9898    grok.require('waeup.manageApplication')
    99     text = _('Manage application section')
     99    text = _('Manage applicant section')
    100100
    101101class ApplicantRegisterActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.