Changeset 659 for WAeUP_SRP/trunk/skins/waeup_student/student_index.py
- Timestamp:
- 11 Oct 2006, 23:22:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r655 r659 21 21 22 22 if context.isManager(): 23 return redirect("%s/ academics_contents" % context.absolute_url())23 return redirect("%s/student_view" % context.absolute_url()) 24 24 if context.isStudent(): 25 25 info = context.getStudentInfo() 26 26 student = info['student'] 27 # doc = info['app_doc'] 28 # state = context.getStudentInfo()['review_state'] 29 # if state == 'admission_applied': 30 # elif state == 'application_pin_entered': 31 # return redirect("%s/passport_entry_view" % student.absolute_url()) 32 33 return redirect("%s/student_view" % student.absolute_url()) 27 doc = info['app_doc'] 28 state = context.getStudentInfo()['review_state'] 29 if state == 'admission_applied': 30 return redirect("%s/application_view" % student.absolute_url()) 31 elif state == 'application_pin_entered': 32 return redirect("%s/passport_entry_view" % student.absolute_url()) 34 33 35 34
Note: See TracChangeset for help on using the changeset viewer.