mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
Adding the ability to put (CSS) classes on menu items.
Making use of it by adding a "collapsed" class to the admin menu's settings top-level item to have it collapse by default (with some adjustment to the admin.js) work item: 17599 --HG-- branch : 1.x
This commit is contained in:
@@ -21,7 +21,7 @@ namespace Orchard.Core.Settings {
|
||||
builder.AddImageSet("settings")
|
||||
.Add(T("Settings"), "99",
|
||||
menu => menu.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
|
||||
.Permission(StandardPermissions.SiteOwner)));
|
||||
.Permission(StandardPermissions.SiteOwner)), new [] {"collapsed"});
|
||||
|
||||
var site = _siteService.GetSiteSettings();
|
||||
if (site == null)
|
||||
|
Reference in New Issue
Block a user