Ignore:
Timestamp:
8 Jan 2007, 17:39:17 (18 years ago)
Author:
joachim
Message:

more fixes

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

Legend:

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

    r1214 r1243  
    2626info = {}
    2727member_id = str(member)
    28 #from Products.zdb import set_trace
    29 #set_trace()
     28#from Products.zdb import set_trace;set_trace()
    3029is_student = info['is_student'] = context.isStudent()
    3130is_staff = info['is_staff'] = context.isStaff()
     
    6867              'StudentPersonal': 'personal_view',
    6968              'StudentStudyCourse': 'study_course_view',
     69              'PaymentsFolder': 'payments_view',
    7070              'StudentPume': 'pume_view',
    7171              }
  • WAeUP_SRP/trunk/skins/waeup_student/student_index.py

    r1238 r1243  
    2626    elif context.portal_type == 'StudentClearance':
    2727        return context.clearance_view()
    28     elif context.portal_type == 'PaymentsFolder':
    29         return context.payments_view()
    3028    elif context.portal_type == 'Student':
    3129        return redirect("%s/student_view" % context.absolute_url())
    3230    return redirect("%s/waeup_document_view" % context.absolute_url())
    3331if context.isStudent():
     32    if context.portal_type == 'PaymentsFolder':
     33        return context.payments_view()
    3434    students_url = "%s/campus/students" % (context.portal_url())
    3535    id = str(member)
Note: See TracChangeset for help on using the changeset viewer.