Comment 2 for bug 1391524

Revision history for this message
Matthias Runge (mrunge) wrote :

E.g Admin Panel uses an additional PanelGroup:

class SystemPanels(horizon.PanelGroup):
    slug = "admin"
    name = _("System")
    panels = ('overview', 'metering', 'hypervisors', 'aggregates',
    ¦ ¦ ¦ 'instances', 'volumes', 'flavors', 'images',
    ¦ ¦ ¦ 'networks', 'routers', 'defaults', 'info')

class Admin(horizon.Dashboard):
    name = _("Admin")
    slug = "admin"
    panels = (SystemPanels,)
    default_panel = 'overview'
    permissions = ('openstack.roles.admin',)

It should be sufficient to add panels directly to Admin instead of using SystemPanels