- Timestamp:
- 29 Jan 2014, 13:35:16 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/branches/uli-diazo-themed/src/waeup/kofa/browser/pages.py
r10995 r11001 316 316 now < temp_password_dict.get('timestamp', now) + delta: 317 317 self.flash( 318 _('Your account has been temporarily deactivated.')) 318 _('Your account has been temporarily deactivated.'), 319 type='warning') 319 320 return 320 321 # Now we know that the student is suspended. 321 322 comment = self._comment(student) 322 323 if comment: 323 self.flash(comment )324 self.flash(comment, type='warning') 324 325 else: 325 self.flash(_('Your account has been deactivated.')) 326 self.flash(_('Your account has been deactivated.'), 327 type='warning') 326 328 return 327 329 self.flash(_('You entered invalid credentials.'))
Note: See TracChangeset for help on using the changeset viewer.