This project has moved. For the latest updates, please go here.

Admin menu item not working

Aug 5, 2015 at 7:22 AM
Hi,

I added a new menu item however I can't see it in the menu-admin list in the admin page.

namespace MyModule
{
public class AdminMenu : INavigationProvider
{
    public AdminMenu()
    {
        T = NullLocalizer.Instance;
    }
    private Localizer T { get; set; }
    public string MenuName { get { return "admin"; } }

    public void GetNavigation(NavigationBuilder builder)
    {
        builder.AddImageSet("UsedEquipProperty").Add(T("UsedEquipProperty"), "7", BuildUsedEquipmentProperty);
    }
    private void BuildUsedEquipmentProperty(NavigationItemBuilder menu)
    {
        menu.Add(T("UsedEquipProperty"), "7.1", item => item.Action("Index", "UsedEquipmentProperty", new { area = "MyModule" }).Permission(Permissions.EditOwnContent));
        menu.Add(T("Create Property"), "7.2", item => item.Action("Create", "UsedEquipmentProperty", new { area = "MyModule" }).Permission(Permissions.EditOwnContent));
    }
}
}

I added stylesheet with the given name : menu.UsedEquipProperty-admin.css

Am I missing something?