Changeset 14346 for main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Timestamp:
- 15 Dec 2016, 08:49:38 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r14256 r14346 662 662 663 663 def update(self): 664 msg = self.context.createStudent(view=self)[1] 665 self.flash(msg, type='warning') 664 success, msg = self.context.createStudent(view=self) 665 if success: 666 self.flash(msg) 667 else: 668 self.flash(msg, type='warning') 666 669 self.redirect(self.url(self.context)) 667 670 return
Note: See TracChangeset for help on using the changeset viewer.