Changeset 901
- Timestamp:
- 20 Nov 2006, 07:33:16 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/default/actions.xml
r890 r901 119 119 </action> 120 120 <action title="Students" action_id="view_students" category="navigation" 121 condition_expr="python:here.isStaff() or here.isManager()" url_expr="string:${portal_url}/campus/students"121 condition_expr="python:here.isStaff()" url_expr="string:${portal_url}/campus/students" 122 122 visible="True"> 123 123 <permission>View</permission> -
WAeUP_SRP/trunk/skins/waeup_academics/academics_index.py
r805 r901 36 36 elif context.portal_type in ('CertificateCourse','Course'): 37 37 return context.waeup_document_view() 38 return redirect("%s/srp_ manager_view" % context.portal_url())38 return redirect("%s/srp_view" % context.portal_url()) 39 39 -
WAeUP_SRP/trunk/skins/waeup_accommodation/acco_folder_index.py
r805 r901 24 24 elif context.portal_type == 'AccoHall': 25 25 return context.acco_hall_view() 26 return redirect("%s/srp_ manager_view" % context.portal_url())26 return redirect("%s/srp_view" % context.portal_url()) 27 27 else: 28 28 return redirect("%s/srp_anonymous_view" % context.portal_url()) -
WAeUP_SRP/trunk/skins/waeup_default/campus_index.py
r805 r901 22 22 campus = context.portal_catalog(meta_type = "University")[-1].getObject() 23 23 24 if context.isManager():25 return redirect("%s/campus_manager_view" % campus.absolute_url())26 27 24 if context.isStudent(): 28 25 return redirect("%s/students_index" % campus.students.absolute_url()) 26 else: 27 return redirect("%s/campus_view" % campus.absolute_url()) 29 28 -
WAeUP_SRP/trunk/skins/waeup_default/index_html.py
r805 r901 19 19 if pm.isAnonymousUser(): 20 20 return redirect("%s/srp_anonymous_view" % request.get('URL1')) 21 elif context.isStudent(): 22 return redirect("%s/srp_anonymous_view" % context.absolute_url()) 23 else: 24 return redirect("%s/srp_view" % context.absolute_url()) 21 25 22 if context.isManager():23 return redirect("%s/srp_manager_view" % context.absolute_url())24 25 if context.isStudent():26 return redirect("%s/srp_anonymous_view" % context.absolute_url())27
Note: See TracChangeset for help on using the changeset viewer.