mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
LF is the git default and all new files are stored as such. Old files from the hg to git conversion however were moved over as CRLF.
16 lines
578 B
C#
16 lines
578 B
C#
using Orchard.Localization;
|
|
using Orchard.Security;
|
|
using Orchard.UI.Navigation;
|
|
|
|
namespace Orchard.Indexing {
|
|
public class AdminMenu : INavigationProvider {
|
|
public Localizer T { get; set; }
|
|
public string MenuName { get { return "admin"; } }
|
|
|
|
public void GetNavigation(NavigationBuilder builder) {
|
|
builder.Add(T("Settings"),
|
|
menu => menu.Add(T("Indexes"), "5", item => item.Action("Index", "Admin", new {area = "Orchard.Indexing"})
|
|
.Permission(StandardPermissions.SiteOwner)));
|
|
}
|
|
}
|
|
} |