Changeset 4300


Ignore:
Timestamp:
16 Jun 2009, 20:43:48 (16 years ago)
Author:
Henrik Bettermann
Message:

resolve schools #7 and more ...

Location:
WAeUP_SRP/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/ois/actions.xml

    r3727 r4300  
    2121     category="student_navigation" condition_expr="member"
    2222     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>     
    2328 </action-provider>
    2429</object>
  • WAeUP_SRP/trunk/skins/waeup_design/common.css.dtml

    r4298 r4300  
    3131
    3232th {
    33   text-align: left;
    3433}
    3534
  • WAeUP_SRP/trunk/skins/waeup_student/lecturer_course_edit.py

    r4043 r4300  
    5555lecturer_id = getattr(course,'lecturer',None)
    5656#set_trace()
    57 if str(lecturer_id) != member_id and not context.isSectionOfficer():
     57if  member_id not in str(lecturer_id) and not context.isSectionOfficer():
    5858    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))
    5959    return REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
  • WAeUP_SRP/trunk/skins/waeup_student/students_index.py

    r4299 r4300  
    2525if "ClearanceOfficers" in member.getGroups() or\
    2626   "StudentsReaders" in member.getGroups() or\
    27    "Lecturers" in member.getGroups() or\
     27   #"Lecturers" in member.getGroups() or\
    2828   "CourseAdvisers" in member.getGroups():
    2929    return redirect("%s/campus/students/search_students" % context.portal_url())
Note: See TracChangeset for help on using the changeset viewer.