Ignore:
Timestamp:
26 Jun 2015, 14:42:37 (9 years ago)
Author:
Henrik Bettermann
Message:

Rename button.

Reorganize applicants section docs.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py

    r13101 r13108  
    236236    grok.require('waeup.manageApplication')
    237237    icon = 'actionicon_entrance.png'
    238     text = _('Create student record')
     238    text = _('Create student')
    239239    target ='createstudent'
    240240
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py

    r13087 r13108  
    106106    Transition(
    107107        transition_id = 'create',
    108         title = _('Create student record'),
     108        title = _('Create student'),
    109109        msg = _('Student record created'),
    110110        source = ADMITTED,
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r13103 r13108  
    349349    pnav = 4
    350350
    351     @action(_('Create student record'), style='primary')
     351    @action(_('Create student'), style='primary')
    352352    def addStudent(self, **data):
    353353        student = createObject(u'waeup.Student')
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py

    r13103 r13108  
    274274        self.browser.getControl(name="form.lastname").value = 'Tester'
    275275        self.browser.getControl(name="form.reg_number").value = '123'
    276         self.browser.getControl("Create student record").click()
     276        self.browser.getControl("Create student").click()
    277277        self.assertTrue('Registration number exists already'
    278278            in self.browser.contents)
    279279        self.browser.getControl(name="form.reg_number").value = '1234'
    280         self.browser.getControl("Create student record").click()
     280        self.browser.getControl("Create student").click()
    281281        self.assertTrue('Student record created' in self.browser.contents)
    282282
Note: See TracChangeset for help on using the changeset viewer.