diff --git a/tuskar_ui/infrastructure/dashboard.py b/tuskar_ui/infrastructure/dashboard.py index ce233bdc4..39c281456 100644 --- a/tuskar_ui/infrastructure/dashboard.py +++ b/tuskar_ui/infrastructure/dashboard.py @@ -15,9 +15,9 @@ from django.utils.translation import ugettext_lazy as _ import horizon -class BasePanels(horizon.PanelGroup): - slug = "infrastructure" +class Infrastructure(horizon.Dashboard): name = _("Infrastructure") + slug = "infrastructure" panels = ( 'overview', 'parameters', @@ -27,14 +27,6 @@ class BasePanels(horizon.PanelGroup): 'images', 'history', ) - - -class Infrastructure(horizon.Dashboard): - name = _("Infrastructure") - slug = "infrastructure" - panels = ( - BasePanels, - ) default_panel = 'overview' permissions = ('openstack.roles.admin',)