Changeset 9705 for main/waeup.kofa/trunk/src/waeup/kofa/browser
- Timestamp:
- 21 Nov 2012, 20:54:11 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/browser/pages.py
r9701 r9705 259 259 return 260 260 # Now we know that the student is suspended. 261 self.flash(_('Your account has been deactivated.')) 261 comment = getattr(student, 'suspended_comment', None) 262 if comment: 263 self.flash(comment) 264 else: 265 self.flash(_('Your account has been deactivated.')) 262 266 return 263 267 self.flash(_('You entered invalid credentials.'))
Note: See TracChangeset for help on using the changeset viewer.