mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
A little cleanup for the Setting admin menu group
--HG-- branch : dev
This commit is contained in:
@@ -20,7 +20,8 @@ namespace Orchard.Core.Settings {
|
||||
|
||||
public void GetNavigation(NavigationBuilder builder) {
|
||||
builder.Add(T("Settings"), "50",
|
||||
menu => menu.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
|
||||
menu => menu.LinkToFirstChild(false)
|
||||
.Add(T("General"), "0", item => item.Action("Index", "Admin", new { area = "Settings", groupInfoId = "Index" })
|
||||
.Permission(StandardPermissions.SiteOwner)));
|
||||
|
||||
var site = _siteService.GetSiteSettings();
|
||||
|
@@ -412,11 +412,12 @@ form.link button:hover {
|
||||
-webkit-border-radius: 3px;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
.section-dashboard, .section-new
|
||||
{
|
||||
.section-dashboard, .section-new, .section-settings {
|
||||
padding:6px 0;
|
||||
}
|
||||
.section-dashboard, .section-new {
|
||||
background:#2b2b2b;
|
||||
border:1px solid #404040;
|
||||
padding:6px 0;
|
||||
|
||||
/*CSS3 properties*/
|
||||
border-radius: 3px;
|
||||
|
Reference in New Issue
Block a user