Skip to content
Merged
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
4 changes: 2 additions & 2 deletions LDK/src/org/labkey/ldk/LDKModule.java
Original file line numberDiff line numberDiff line change
Expand Up@@ -31,9 +31,9 @@
import org.labkey.api.security.permissions.ReadPermission;
import org.labkey.api.settings.AdminConsole;
import org.labkey.api.util.PageFlowUtil;
import org.labkey.api.view.DeveloperMenu;
import org.labkey.api.view.DeveloperMenuNavTrees;
import org.labkey.api.view.NavTree;
import org.labkey.api.view.PopupDeveloperView;
import org.labkey.api.view.WebPartFactory;
import org.labkey.ldk.notification.NotificationServiceImpl;
import org.labkey.ldk.notification.SiteSummaryNotification;
Expand DownExpand Up@@ -87,7 +87,7 @@ protected void init()
protected void doStartupAfterSpringConfig(ModuleContext moduleContext)
{
AdminConsole.addLink(AdminConsole.SettingsLinkType.Management, "notification service admin", DetailsURL.fromString("/ldk/notificationSiteAdmin.view").getActionURL(), AdminOperationsPermission.class);
PopupDeveloperView.registerMenuProvider((c, user, trees) -> {
DeveloperMenu.registerMenuProvider((c, user, trees) -> {
if (c.isRoot() & user.hasSiteAdminPermission())
{
trees.add(DeveloperMenuNavTrees.Section.tools, new NavTree("Notification Service Admin", DetailsURL.fromString("ldk/notificationSiteAdmin.view", c).getActionURL()));
Expand Down