Last change
on this file since 387 was
280,
checked in by joachim, 19 years ago
|
=renamed skins/waeup_faculty to academics
|
-
Property svn:keywords set to
Id
|
File size:
411 bytes
|
Rev | Line | |
---|
[96] | 1 | ##parameters=psm=None, REQUEST=None |
---|
[80] | 2 | |
---|
| 3 | # $Id: department_index_html.py 280 2006-06-30 06:43:03Z joachim $ |
---|
| 4 | |
---|
| 5 | """Default view for a Faculty.""" |
---|
| 6 | member = context.portal_membership.getAuthenticatedMember() |
---|
[96] | 7 | if not context.portal_membership.isAnonymousUser(): |
---|
[89] | 8 | roles = member.getRoles() |
---|
| 9 | if 'Manager' in roles: |
---|
| 10 | return context.folder_view() |
---|
| 11 | elif 'StudentManager' in roles: |
---|
[80] | 12 | return context.department_view_manager() |
---|
[89] | 13 | return context.department_view_student() |
---|
Note: See
TracBrowser for help on using the repository browser.