Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move MAR menu to global Add-ons group #31

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/EPiServer.Marketing.KPI.Commerce/MenuProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public class MenuProvider : IMenuProvider
{
private readonly LocalizationService _localizationService;

private const string MarketingToolSettingsPath = MenuPaths.Global + "/addons";
private const string MarketingToolSettingsPath = MenuPaths.Global + "/cms";

/// <summary>
/// Initializes a new instance of <see cref="MenuProvider"/>
Expand Down
9 changes: 1 addition & 8 deletions src/EPiServer.Marketing.Testing.Web/MenuProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class MenuProvider : IMenuProvider
private readonly ModuleTable _moduleTable;
private readonly LocalizationService _localizationService;

private const string MarketingToolSettingsPath = MenuPaths.Global + "/addons";
private const string MarketingToolSettingsPath = MenuPaths.Global + "/cms";

public MenuProvider(LocalizationService localizationService, ModuleTable moduleTable)
{
Expand All @@ -33,13 +33,6 @@ public IEnumerable<MenuItem> GetMenuItems()
}
return new List<MenuItem>
{
new SectionMenuItem(_localizationService.GetString("", "Addons"),
MarketingToolSettingsPath)
{
SortIndex = 10,
Alignment = MenuItemAlignment.Left,
IsAvailable = (context) => true
},
new UrlMenuItem(_localizationService.GetString("", "Marketing Tools"),
MarketingToolSettingsPath + "/marketingtools",
Paths.ToResource(GetType(), "Setting"))
Expand Down