mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
@@ -25,7 +25,7 @@ namespace Orchard.Core.Navigation.Services {
|
|||||||
if (menuPart != null) {
|
if (menuPart != null) {
|
||||||
var part = menuPart;
|
var part = menuPart;
|
||||||
|
|
||||||
builder.Add(new LocalizedString(HttpUtility.HtmlEncode(part.AdminMenuText)),
|
builder.Add(new LocalizedString(part.AdminMenuText),
|
||||||
part.AdminMenuPosition,
|
part.AdminMenuPosition,
|
||||||
item => item.Action(_contentManager.GetItemMetadata(part.ContentItem).AdminRouteValues));
|
item => item.Action(_contentManager.GetItemMetadata(part.ContentItem).AdminRouteValues));
|
||||||
// todo: somehow determine if they will ultimately have rights to the destination and hide if not. possibly would need to add a Permission to metadata.
|
// todo: somehow determine if they will ultimately have rights to the destination and hide if not. possibly would need to add a Permission to metadata.
|
||||||
|
|||||||
Reference in New Issue
Block a user