Changeset 655 for WAeUP_SRP/trunk


Ignore:
Timestamp:
11 Oct 2006, 10:11:13 (18 years ago)
Author:
Henrik Bettermann
Message:

start working on student_view

Location:
WAeUP_SRP/trunk/skins/waeup_student
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/student_index.py

    r603 r655  
    2525    info = context.getStudentInfo()
    2626    student = info['student']
    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())
     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())
     34
     35
  • WAeUP_SRP/trunk/skins/waeup_student/students_index.py

    r603 r655  
    2727    info = context.getStudentInfo()
    2828    student = info['student']
    29     doc = info['app_doc']
    30     state = context.getStudentInfo()['review_state']
    31     if state == 'admission_applied':
    32         return redirect("%s/application_view" % student.absolute_url())
    33     elif state == 'application_pin_entered':
    34         return redirect("%s/passport_entry_view" % student.absolute_url())
     29    return redirect("%s/student_view" % student.absolute_url())
     30
Note: See TracChangeset for help on using the changeset viewer.