Commit 1946c4f6 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

Don't display navigation component in not-really-primary tabs

parent 4387b9357090
...@@ -204,6 +204,9 @@ class PrimaryTabWithoutBoxes(tabs.PrimaryTab): ...@@ -204,6 +204,9 @@ class PrimaryTabWithoutBoxes(tabs.PrimaryTab):
def is_primary(self): def is_primary(self):
return False return False
def content_navigation_components(self, context):
pass
class SubObjectsTab(tabs.TabsMixin, EntityView): class SubObjectsTab(tabs.TabsMixin, EntityView):
"""Base class for tabs with a 'add' button and one or more list of subobjects, driven by the """Base class for tabs with a 'add' button and one or more list of subobjects, driven by the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment