source: WAeUP_SRP/branches/joachim-event-branch/skins/waeup_academics/academics_contents_display_buttons.py @ 11951

Last change on this file since 11951 was 486, checked in by joachim, 18 years ago

svn -R propset svn:keywords "Id" .
added layout_application_/edit/create/view
and cleaned that up.

  • Property svn:keywords set to Id
File size: 723 bytes
Line 
1## Script (Python) ""
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind subpath=traverse_subpath
7##parameters=ids=[], REQUEST=None
8##title=
9##
10# $Id: academics_contents_display_buttons.py 486 2006-09-06 10:09:39Z joachim $
11"""
12buttons shouldn't be displayed if
13"""
14
15#if context.portal_type in ('Department','Certificate','StudyLevel'):
16if context.portal_type in ('Department',
17                           'StudyLevel',
18                           'Student',
19                           'StudentApplication',
20                           'StudentClearance',
21                           'StudentPersonal',
22                           'StudentStudyCourse',
23                           'StudentStudyLevel',
24                           ):
25    return None
26return 1
Note: See TracBrowser for help on using the repository browser.