From 4da31291d265edaebb7e3de7c7062c981b9864b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 11 Jan 2016 10:44:04 +0100 Subject: [PATCH] feat(apps): minor progress to apps list --- pkg/plugins/app_plugin.go | 9 +++++---- public/app/features/apps/partials/list.html | 10 +++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/pkg/plugins/app_plugin.go b/pkg/plugins/app_plugin.go index 13a9bc43f94..7ffc24cfc0b 100644 --- a/pkg/plugins/app_plugin.go +++ b/pkg/plugins/app_plugin.go @@ -20,10 +20,11 @@ type AppPluginCss struct { type AppPlugin struct { FrontendPluginBase - Enabled bool `json:"enabled"` - Pinned bool `json:"pinned"` - Css *AppPluginCss `json:"css"` - Page *AppPluginPage `json:"page"` + Css *AppPluginCss `json:"css"` + Page *AppPluginPage `json:"page"` + + Pinned bool `json:"-"` + Enabled bool `json:"-"` } func (p *AppPlugin) Load(decoder *json.Decoder, pluginDir string) error { diff --git a/public/app/features/apps/partials/list.html b/public/app/features/apps/partials/list.html index c682d2fc8ef..0bdaebe3657 100644 --- a/public/app/features/apps/partials/list.html +++ b/public/app/features/apps/partials/list.html @@ -26,7 +26,15 @@ - {{app.name}} + + + {{app.name}} + +     + + enabled + + Dashboards: 1