Changeset 1243 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 8 Jan 2007, 17:39:17 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/getStudentFolderInfo.py
r1214 r1243 26 26 info = {} 27 27 member_id = str(member) 28 #from Products.zdb import set_trace 29 #set_trace() 28 #from Products.zdb import set_trace;set_trace() 30 29 is_student = info['is_student'] = context.isStudent() 31 30 is_staff = info['is_staff'] = context.isStaff() … … 68 67 'StudentPersonal': 'personal_view', 69 68 'StudentStudyCourse': 'study_course_view', 69 'PaymentsFolder': 'payments_view', 70 70 'StudentPume': 'pume_view', 71 71 } -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r1238 r1243 26 26 elif context.portal_type == 'StudentClearance': 27 27 return context.clearance_view() 28 elif context.portal_type == 'PaymentsFolder':29 return context.payments_view()30 28 elif context.portal_type == 'Student': 31 29 return redirect("%s/student_view" % context.absolute_url()) 32 30 return redirect("%s/waeup_document_view" % context.absolute_url()) 33 31 if context.isStudent(): 32 if context.portal_type == 'PaymentsFolder': 33 return context.payments_view() 34 34 students_url = "%s/campus/students" % (context.portal_url()) 35 35 id = str(member)
Note: See TracChangeset for help on using the changeset viewer.