more work on dashboard importing and templating

This commit is contained in:
Torkel Ödegaard
2016-03-11 17:31:57 +01:00
parent d2b0bad1cf
commit c5a817194a
12 changed files with 1380 additions and 69 deletions

View File

@ -122,9 +122,9 @@ func GetPluginDashboards(c *middleware.Context) Response {
}
}
func InstallPluginDashboard(c *middleware.Context, apiCmd dtos.InstallPluginDashboardCmd) Response {
func ImportDashboard(c *middleware.Context, apiCmd dtos.ImportDashboardCommand) Response {
cmd := plugins.InstallPluginDashboardCommand{
cmd := plugins.ImportDashboardCommand{
OrgId: c.OrgId,
UserId: c.UserId,
PluginId: apiCmd.PluginId,