Changeset 14305
- Timestamp:
- 3 Dec 2016, 06:50:13 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r14293 r14305 2869 2869 return 2870 2870 2871 def _redirect_no_student(self): 2872 # No record found, this is the truth. We do not redirect here. 2873 # We are using this method in custom packages 2874 # for redirecting alumni to the application section. 2875 self.flash(_('No student record found.'), type="warning") 2876 return 2877 2871 2878 def _pw_used(self): 2872 2879 # XXX: False if password has not been used. We need an extra … … 2908 2915 notify(grok.ObjectModifiedEvent(student)) 2909 2916 else: 2910 # No record found, this is the truth. 2911 self.flash(_('No student record found.'), type="warning") 2917 self._redirect_no_student() 2912 2918 return 2913 2919
Note: See TracChangeset for help on using the changeset viewer.