Changeset 1347 for WAeUP_SRP/trunk
- Timestamp:
- 25 Jan 2007, 10:34:33 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1346 r1347 64 64 s_review_state = wftool.getInfoFor(student,'review_state',None) 65 65 a_review_state = wftool.getInfoFor(student_app,'review_state',None) 66 student_per = getattr(student,'personal',None) 67 p_review_state = wftool.getInfoFor(student_per,'review_state',None) 66 68 logger.info('"%s", "logged in", "review_state %s"' % (member,s_review_state)) 67 69 app_doc = student_app.getContent() … … 108 110 da['app_ac_pin'] = pin 109 111 app_doc.edit(mapping = da) 112 elif s_review_state in ("cleared_and_validated",) and\ 113 p_review_state == 'created' : 114 wftool.doActionFor(student_per,'open') 115 110 116 if s_review_state == "application_pin_entered": 111 117 redirect_url = "%s/application_edit_form" % student.absolute_url() … … 114 120 elif s_review_state == "clearance_pin_entered": 115 121 redirect_url = "%s/clearance_edit_form" % student.absolute_url() 122 elif s_review_state == "cleared_and_validated": 123 redirect_url = "%s/personal_edit_form" % student.absolute_url() 116 124 elif s_review_state == "returning": 117 125 redirect_url = "%s/session_results_view" % student.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.