Changeset 13108 for main/waeup.kofa/trunk/src
- Timestamp:
- 26 Jun 2015, 14:42:37 (9 years ago)
- 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 236 236 grok.require('waeup.manageApplication') 237 237 icon = 'actionicon_entrance.png' 238 text = _('Create student record')238 text = _('Create student') 239 239 target ='createstudent' 240 240 -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py
r13087 r13108 106 106 Transition( 107 107 transition_id = 'create', 108 title = _('Create student record'),108 title = _('Create student'), 109 109 msg = _('Student record created'), 110 110 source = ADMITTED, -
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r13103 r13108 349 349 pnav = 4 350 350 351 @action(_('Create student record'), style='primary')351 @action(_('Create student'), style='primary') 352 352 def addStudent(self, **data): 353 353 student = createObject(u'waeup.Student') -
main/waeup.kofa/trunk/src/waeup/kofa/students/tests/test_browser.py
r13103 r13108 274 274 self.browser.getControl(name="form.lastname").value = 'Tester' 275 275 self.browser.getControl(name="form.reg_number").value = '123' 276 self.browser.getControl("Create student record").click()276 self.browser.getControl("Create student").click() 277 277 self.assertTrue('Registration number exists already' 278 278 in self.browser.contents) 279 279 self.browser.getControl(name="form.reg_number").value = '1234' 280 self.browser.getControl("Create student record").click()280 self.browser.getControl("Create student").click() 281 281 self.assertTrue('Student record created' in self.browser.contents) 282 282
Note: See TracChangeset for help on using the changeset viewer.