Reworking the admin menu a bit (still a work in progress)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-06-12 23:29:19 -07:00
parent e2af46ed71
commit 36460acd2b
14 changed files with 24 additions and 43 deletions

View File

@@ -7,9 +7,9 @@ namespace Orchard.Themes {
public string MenuName { get { return "admin"; } }
public void GetNavigation(NavigationBuilder builder) {
builder.Add(T("Site"), "11",
builder.Add(T("Site Design"), "10",
menu => menu
.Add(T("Manage Themes"), "4.0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" })
.Add(T("Themes"), "2.0", item => item.Action("Index", "Admin", new { area = "Orchard.Themes" })
.Permission(Permissions.ManageThemes).Permission(Permissions.ApplyTheme)));
}
}