Changeset 1094 for WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
- Timestamp:
- 19 Dec 2006, 12:11:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1092 r1094 84 84 app_doc.edit(mapping = da) 85 85 if s_review_state == "application_pin_entered": 86 r eturn response.redirect("%s/application_edit_form" % student.absolute_url())86 rdirect_url = "%s/application_edit_form" % student.absolute_url() 87 87 elif s_review_state in ('admitted', 'objection_raised',): 88 re turn response.redirect("%s/admission_form" % student.absolute_url())88 redirect_url = "%s/admission_form" % student.absolute_url() 89 89 elif s_review_state == "clearance_pin_entered": 90 re turn response.redirect("%s/clearance_edit_form" % student.absolute_url())91 re turn response.redirect("%s/student_index" % student.absolute_url())90 redirect_url = "%s/clearance_edit_form" % student.absolute_url() 91 redirect_url = "%s/student_index" % student.absolute_url() 92 92 else: 93 93 logger.info('"%s", "logged in"' % (member)) 94 return response.redirect(portal.absolute_url()) 94 redirect_url = portal.absolute_url() 95 #Anonymous 95 96 else: 96 # Setup skins97 if (getattr(utool, 'updateSkinCookie', False) and98 utool.updateSkinCookie()):99 context.setupCurrentSkin()100 97 response.expireCookie('__ac', path='/') 101 98 return context.user_logged_in_failed() 102 99 100 # Setup skins 101 if (getattr(utool, 'updateSkinCookie', False) and 102 utool.updateSkinCookie()): 103 context.setupCurrentSkin() 103 104 105 response.redirect(redirect_url) 106
Note: See TracChangeset for help on using the changeset viewer.