mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 12:53:33 +08:00

Updating comparer to avoid collapsing url and routevalue items together Flattened the navigation admin controller to avoid using MenuItem class in editor model HtmlEncode the text of the menu item to be displayed Updated TheMenu templates to use .text and .hinttext properties of LocalizedString --HG-- branch : dev
12 lines
355 B
C#
12 lines
355 B
C#
using Orchard.UI.Navigation;
|
|
|
|
namespace Orchard.Core.Navigation.ViewModels {
|
|
public class MenuItemEntry {
|
|
public int MenuItemId { get; set; }
|
|
public bool IsMenuItem { get; set; }
|
|
|
|
public string Text { get; set; }
|
|
public string Url { get; set; }
|
|
public string Position { get; set; }
|
|
}
|
|
} |