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

Last change on this file 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
RevLine 
[326]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##
[486]10# $Id: academics_contents_display_buttons.py 486 2006-09-06 10:09:39Z joachim $
[326]11"""
[472]12buttons shouldn't be displayed if
[326]13"""
14
[370]15#if context.portal_type in ('Department','Certificate','StudyLevel'):
[454]16if context.portal_type in ('Department',
17                           'StudyLevel',
18                           'Student',
[472]19                           'StudentApplication',
[454]20                           'StudentClearance',
21                           'StudentPersonal',
22                           'StudentStudyCourse',
23                           'StudentStudyLevel',
24                           ):
[326]25    return None
26return 1
Note: See TracBrowser for help on using the repository browser.