Ignore:
Timestamp:
9 Nov 2006, 17:33:49 (18 years ago)
Author:
joachim
Message:

pin is now not used if jamb_no is invalid
reserve_accommodation had permission set to false instead of View
students_index got an error, when called from student in enter_clearance_pin

File:
1 edited

Legend:

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

    r805 r816  
    2020    return redirect("%s/srp_anonymous_view" % context.portal_url())
    2121
    22 campus = context.portal_catalog(meta_type = "University")[-1].getObject()
     22campus_url = "%s/campus" % (context.portal_url.getPortalPath())
     23#campus = context.portal_catalog(meta_type = "University")[-1].getObject()
    2324
    2425if context.isManager():
    25     return redirect("%s/searchStudents" % campus.students.absolute_url())
     26    return redirect("%s/searchStudents" % campus_url)
    2627if context.isStudent():
    2728    info = context.getStudentInfo()
Note: See TracChangeset for help on using the changeset viewer.