Added the concept of 'fake' workflow transitions: when a user can't trigger a transition but needs an explanation about why he can't, a fake button is shown, with a explanation.
This commit is contained in:
parent
b48525c5bb
commit
77112c45be
11 changed files with 141 additions and 34 deletions
|
@ -24,6 +24,7 @@ class ToolMixin(BaseMixin):
|
|||
'''Returns the name of the portal_type that is based on
|
||||
p_metaTypeOrAppyType.'''
|
||||
appName = self.getProductConfig().PROJECTNAME
|
||||
res = metaTypeOrAppyClass
|
||||
if not isinstance(metaTypeOrAppyClass, basestring):
|
||||
res = getClassName(metaTypeOrAppyClass, appName)
|
||||
if res.find('Extensions_appyWrappers') != -1:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue