Simplifying dashboard management.

This removes the ability to edit multiple dashboards in favor of a simplified way for users to edit the default dashboard.
This commit is contained in:
Sipke Schoorstra
2015-05-20 01:27:53 +02:00
parent 865f583be2
commit 316c6e3262
13 changed files with 121 additions and 255 deletions

View File

@@ -7,13 +7,8 @@ namespace Orchard.Dashboards {
public void GetNavigation(NavigationBuilder builder) {
builder.Add(T("Settings"), settings => settings
.Add(T("Dashboards"), "16", dashboard => dashboard
.Add(T("Settings"), "5", dashboardSettings => dashboardSettings
.Action("Index", "Settings", new { area = "Orchard.Dashboards" })
.LocalNav())
.Add(T("Manage Dashboards"), "6", manageDashboards => manageDashboards
.Action("List", "Dashboard", new { area = "Orchard.Dashboards" })
.LocalNav())));
.Add(T("Dashboard"), "16", dashboard => dashboard
.Action("Edit", "Dashboard", new { area = "Orchard.Dashboards" })));
}
}
}