Changeset 13350 for main/waeup.kofa/trunk/src/waeup/kofa
- Timestamp:
- 26 Oct 2015, 14:44:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py
r13349 r13350 2315 2315 def all_required_fields_filled(self): 2316 2316 if not self.context.email: 2317 return _("Email address is missing.") 2317 return _("Email address is missing."), 'edit_base' 2318 2318 if not self.context.phone: 2319 return _("Phone number is missing.") 2319 return _("Phone number is missing."), 'edit_base' 2320 2320 return 2321 2321 … … 2336 2336 self.redirect(self.url(self.context, 'change_portrait')) 2337 2337 return 2338 arf_warning = self.all_required_fields_filled 2339 if arf_warning: 2338 if self.all_required_fields_filled: 2339 arf_warning = self.all_required_fields_filled[0] 2340 arf_redirect = self.all_required_fields_filled[1] 2340 2341 self.flash(arf_warning, type="warning") 2341 self.redirect(self.url(self.context, 'edit_base'))2342 self.redirect(self.url(self.context, arf_redirect)) 2342 2343 return 2343 2344 if self.with_ac:
Note: See TracChangeset for help on using the changeset viewer.