Changeset 7489 for main/waeup.sirp/trunk
- Timestamp:
- 20 Jan 2012, 07:55:43 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/browser.py
r7484 r7489 275 275 return get_users_with_local_roles(self.context) 276 276 277 @action('Save' )278 def apply(self, **data):277 @action('Save', style='primary') 278 def save(self, **data): 279 279 self.applyData(self.context, **data) 280 self.flash(' Datasaved.')280 self.flash('Form has been saved.') 281 281 return 282 282 … … 650 650 dict(name=x, title=y) for x, y in allowed_transitions] 651 651 652 @action('Save' )652 @action('Save', style='primary') 653 653 def save(self, **data): 654 654 form = self.request.form -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7484 r7489 307 307 self.assertEqual(self.browser.url, self.manage_container_path) 308 308 self.browser.getControl("Save").click() 309 self.assertTrue(' Datasaved' in self.browser.contents)309 self.assertTrue('Form has been saved' in self.browser.contents) 310 310 self.browser.getControl("Remove selected", index=0).click() 311 311 self.assertTrue('No applicant selected' in self.browser.contents)
Note: See TracChangeset for help on using the changeset viewer.