Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
seda
Commits
82e92c392bb5
Commit
1946c4f6
authored
Dec 15, 2016
by
Sylvain Thénault
Browse files
Don't display navigation component in not-really-primary tabs
parent
4387b9357090
Changes
1
Hide whitespace changes
Inline
Side-by-side
views/viewlib.py
View file @
82e92c39
...
...
@@ -204,6 +204,9 @@ class PrimaryTabWithoutBoxes(tabs.PrimaryTab):
def
is_primary
(
self
):
return
False
def
content_navigation_components
(
self
,
context
):
pass
class
SubObjectsTab
(
tabs
.
TabsMixin
,
EntityView
):
"""Base class for tabs with a 'add' button and one or more list of subobjects, driven by the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment