mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-26 12:03:16 +08:00
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:
@@ -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" })));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user