Changeset 1780 for WAeUP_SRP


Ignore:
Timestamp:
13 May 2007, 07:36:36 (18 years ago)
Author:
Henrik Bettermann
Message:

look for results after log in

Location:
WAeUP_SRP/trunk/skins
Files:
1 added
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1779 r1780  
    133133                study_course_doc.edit(mapping = dsc)
    134134                wftool.doActionFor(study_course,'close_for_edit')
    135         is_imported = context.returning_import(matric_no = matric_no)
     135        has_results = context.results_import(matric_no = matric_no)
    136136        if s_review_state == "application_pin_entered":
    137137            redirect_url = "%s/application_edit_form" % student.absolute_url()
     
    142142        elif s_review_state == "cleared_and_validated":
    143143            redirect_url = "%s/personal_edit_form" % student.absolute_url()
    144         elif s_review_state == "returning" and is_imported:
     144        elif s_review_state == "returning" and has_results:
    145145            redirect_url = "%s/session_results_view" % student.absolute_url()
    146146        elif s_review_state in ('school_fee_paid','courses_registered'):
    147             redirect_url = "%s/study_course/study_course_view" % student.absolute_url()           
     147            redirect_url = "%s/study_course/study_course_view" % student.absolute_url()
    148148        else:
    149149            redirect_url = "%s/student_index" % student.absolute_url()
Note: See TracChangeset for help on using the changeset viewer.