source: WAeUP_SRP/trunk/skins/waeup_academics/academics_contents_display_buttons.py @ 454

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

add student_study_level,
adopted result_import
results import now is broken because of missing wf_state.

File size: 779 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: folder_delete.py 30246 2005-12-02 20:10:18Z fguillaume $
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                           'StudentAdmission',
20                           'StudentClearance',
21                           'StudentPersonal',
22                           'StudentStudyCourse',
23                           'StudentStudyLevel',
24                           ):
25    return None
26return 1
Note: See TracBrowser for help on using the repository browser.