From 54a3cf2994b2620fc3b0e62af8c91b034290e98a Mon Sep 17 00:00:00 2001 From: Ana Krivokapic Date: Thu, 23 Oct 2014 12:56:10 +0200 Subject: [PATCH] Remove the Infrastructure panel group Remove the Infrastructure panel group, and place the panels directly under the Infrastructure dashboard. Change-Id: I321f9a84dd885732438ad58b6c62c480c9c10e37 --- tuskar_ui/infrastructure/dashboard.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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',)