Changeset 4300
- Timestamp:
- 16 Jun 2009, 20:43:48 (16 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/profiles/ois/actions.xml
r3727 r4300 21 21 category="student_navigation" condition_expr="member" 22 22 url_expr="string:${portal_url}/campus/students/${member}/reserve_accommodation" visible="False"/> 23 <action title="Students" action_id="view_students" category="navigation" 24 condition_expr="python:portal.campus.students.isSectionOfficer() " 25 url_expr="string:${portal_url}/campus/students" visible="True"> 26 <permission>View</permission> 27 </action> 23 28 </action-provider> 24 29 </object> -
WAeUP_SRP/trunk/skins/waeup_design/common.css.dtml
r4298 r4300 31 31 32 32 th { 33 text-align: left;34 33 } 35 34 -
WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py
r4043 r4300 55 55 lecturer_id = getattr(course,'lecturer',None) 56 56 #set_trace() 57 if str(lecturer_id) != member_idand not context.isSectionOfficer():57 if member_id not in str(lecturer_id) and not context.isSectionOfficer(): 58 58 logger.info('%s tried to access course result record %s of %s but is not a lecturer of this course' % (member_id,course_id,requested_id)) 59 59 return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) -
WAeUP_SRP/trunk/skins/waeup_student/students_index.py
r4299 r4300 25 25 if "ClearanceOfficers" in member.getGroups() or\ 26 26 "StudentsReaders" in member.getGroups() or\ 27 "Lecturers" in member.getGroups() or\27 #"Lecturers" in member.getGroups() or\ 28 28 "CourseAdvisers" in member.getGroups(): 29 29 return redirect("%s/campus/students/search_students" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.