source: waeup_product/trunk/skins/waeup_student/jamb_index_html.py @ 70

Last change on this file since 70 was 66, checked in by joachim, 19 years ago

=jamb views added

  • Property svn:keywords set to Id
File size: 345 bytes
Line 
1##parameters=post_id=None, REQUEST=None
2
3# $Id: jamb_index_html.py 66 2005-10-20 12:11:00Z joachim $
4
5"""Default view for the Student."""
6member = context.portal_membership.getAuthenticatedMember()
7
8#return context.student_view_manager()
9if 'StudentManager' in member.getGroups():
10    return context.jamb_view_manager()
11elif 'Students' in member.getGroups():
12    return context.jamb_view_student()
Note: See TracBrowser for help on using the repository browser.