- Timestamp:
- 31 Dec 2006, 10:22:20 (18 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_student
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/set_access_data_form.pt
r1160 r1163 13 13 </metal:block> 14 14 <metal:block fill-slot="main"> 15 <h3>Enter Your Email Address and Choose a Password!</h3>15 <h3>Enter Your Authentication Details and Choose a Password!</h3> 16 16 <br /> 17 17 <div tal:replace="structure rendered_main" /> -
WAeUP_SRP/trunk/skins/waeup_student/student_index.py
r999 r1163 29 29 return redirect("%s/waeup_document_view" % context.absolute_url()) 30 30 if context.isStudent(): 31 students = context.portal_url.getPortalObject().campus.students32 student = getattr(students,str(member))33 return redirect("%s/ student_view" % student.absolute_url())31 students_url = "%s/campus/students" % (context.portal_url()) 32 id = str(member) 33 return redirect("%s/%s/student_view" % (students_url, id)) 34 34 35 return redirect("%s/srp_anonymous_view" % context. absolute_url())36 35 return redirect("%s/srp_anonymous_view" % context.portal_url()) 36 -
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r1031 r1163 21 21 return redirect("%s/srp_anonymous_view" % context.portal_url()) 22 22 23 students_url = "%s/campus/students" % (context.portal_url .getPortalPath())23 students_url = "%s/campus/students" % (context.portal_url()) 24 24 25 25 if "ClearanceOfficers" in member.getGroups(): … … 28 28 return redirect("%s/search_students" % students_url) 29 29 if 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.