Changeset 91
- Timestamp:
- 26 Oct 2005, 12:30:11 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Students.py
r89 r91 90 90 91 91 ###) 92 92 93 studentpersonal_fti = { ###( 93 94 'title': 'WAeUP StudentPersonal', -
waeup_product/trunk/skins/waeup_faculty/course_index_html.py
r89 r91 5 5 """Default view for the Student.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 if member:7 if not context.portal_membership.isAnonymousUser: 8 8 roles = member.getRoles() 9 9 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/department_index_html.py
r89 r91 5 5 """Default view for a Faculty.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 if member:7 if not context.portal_membership.isAnonymousUser: 8 8 roles = member.getRoles() 9 9 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_faculty/department_index_html.py~
r89 r91 1 1 ##parameters=post_id=None, REQUEST=None 2 2 3 # $Id: department_index_html.py 8 4 2005-10-25 16:18:40Z joachim $3 # $Id: department_index_html.py 89 2005-10-26 11:54:25Z joachim $ 4 4 5 5 """Default view for a Faculty.""" 6 6 member = context.portal_membership.getAuthenticatedMember() 7 8 #return context.student_view_manager()9 7 if member: 10 if 'StudentManager' in member.getGroups(): 11 #if 'Manager' in member.getRoles(): 8 roles = member.getRoles() 9 if 'Manager' in roles: 10 return context.folder_view() 11 elif 'StudentManager' in roles: 12 12 return context.department_view_manager() 13 elif 'Students' in member.getGroups(): 14 return context.department_view_student() 13 return context.department_view_student() -
waeup_product/trunk/skins/waeup_faculty/faculty_index_html.py
r89 r91 7 7 8 8 member = context.portal_membership.getAuthenticatedMember() 9 if member:9 if not context.portal_membership.isAnonymousUser: 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/jamb_index_html.py
r89 r91 7 7 8 8 #return context.student_view_manager() 9 if member:9 if not context.portal_membership.isAnonymousUser: 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/student_index_html.py
r89 r91 7 7 8 8 #return context.student_view_manager() 9 if member:9 if not context.portal_membership.isAnonymousUser: 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/student_personal_index_html.py
r89 r91 7 7 8 8 #return context.student_view_manager() 9 if member:9 if not context.portal_membership.isAnonymousUser: 10 10 roles = member.getRoles() 11 11 if 'Manager' in roles: -
waeup_product/trunk/skins/waeup_student/students_folder_view.py
r89 r91 6 6 will be displayed, otherwise first post will be displayed.""" 7 7 8 9 8 member = context.portal_membership.getAuthenticatedMember() 10 if member:9 if not context.portal_membership.isAnonymousUser: 11 10 roles = member.getRoles() 12 11 if 'Manager' in roles:
Note: See TracChangeset for help on using the changeset viewer.