- Timestamp:
- 26 Oct 2005, 11:54:25 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/student_personal_index_html.py
r67 r89 7 7 8 8 #return context.student_view_manager() 9 if 'StudentManager' in member.getGroups(): 10 return context.student_personal_view_manager() 11 elif 'Students' in member.getGroups(): 12 return context.student_personal_view_student() 9 if member: 10 roles = member.getRoles() 11 if 'Manager' in roles: 12 return context.cpsdocument_view() 13 elif 'StudentManager' in roles: 14 return context.student_personal_view_manager() 15 return context.student_personal_view_student()
Note: See TracChangeset for help on using the changeset viewer.