do not show versioning part in edit form for concepts
This commit is contained in:
parent
da24ef6324
commit
c28d2e88f1
1 changed files with 3 additions and 0 deletions
|
@ -682,6 +682,9 @@ class BaseView(GenericView, I18NView):
|
|||
if not self.useVersioning:
|
||||
return None
|
||||
target = self.target
|
||||
if not IResource.providedBy(target):
|
||||
# no standard versioning yet for concepts
|
||||
return None
|
||||
versionable = IVersionable(target, None)
|
||||
if versionable is None:
|
||||
return ''
|
||||
|
|
Loading…
Add table
Reference in a new issue