Ignore:
Timestamp:
31 Dec 2006, 10:22:20 (18 years ago)
Author:
Henrik Bettermann
Message:

index scripts slimmed down

File:
1 edited

Legend:

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

    r1031 r1163  
    2121    return redirect("%s/srp_anonymous_view" % context.portal_url())
    2222
    23 students_url = "%s/campus/students" % (context.portal_url.getPortalPath())
     23students_url = "%s/campus/students" % (context.portal_url())
    2424
    2525if "ClearanceOfficers" in member.getGroups():
     
    2828    return redirect("%s/search_students" % students_url)
    2929if context.isStudent():
    30     info = context.getStudentInfo()
    31     student = info['student']
    32     return redirect("%s/student_view" % student.absolute_url())
     30    id = str(member)
     31    return redirect("%s/%s/student_view" % (students_url, id))
Note: See TracChangeset for help on using the changeset viewer.