Sort the panel's variable in the dashboards.py

In the dashboards.py some PanelGroup's variable
use(slug,name.panels), and some use(name, slug, panels),
we can unit it, used as(slug,name.panels).

Change-Id: If508fcb59c372c581938152db8bceb4ed849c256
Closes-bug:#1438984
This commit is contained in:
tinytmy 2015-04-02 08:50:52 +08:00
parent 3c96fd317d
commit ebdb7313f1
1 changed files with 3 additions and 3 deletions

View File

@ -45,22 +45,22 @@ class ObjectStorePanels(horizon.PanelGroup):
class OrchestrationPanels(horizon.PanelGroup):
name = _("Orchestration")
slug = "orchestration"
name = _("Orchestration")
panels = ('stacks',
'stacks.resource_types',)
class DatabasePanels(horizon.PanelGroup):
name = _("Database")
slug = "database"
name = _("Database")
panels = ('databases',
'database_backups',)
class DataProcessingPanels(horizon.PanelGroup):
name = _("Data Processing")
slug = "data_processing"
name = _("Data Processing")
panels = ('data_processing.wizard',
'data_processing.clusters',
'data_processing.job_executions',