## Script (Python) ""
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=ids=[], REQUEST=None
##title=
##
# $Id: folder_delete.py 30246 2005-12-02 20:10:18Z fguillaume $
"""
buttons shouldn't be displayed if
"""

#if context.portal_type in ('Department','Certificate','StudyLevel'):
if context.portal_type in ('Department',
                           'StudyLevel',
                           'Student',
                           'StudentApplication',
                           'StudentClearance',
                           'StudentPersonal',
                           'StudentStudyCourse',
                           'StudentStudyLevel',
                           ):
    return None
return 1
