@using BTCPayServer.Services.Altcoins.Monero.Configuration @using BTCPayServer.Services.Altcoins.Monero.UI @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.Contracts @inject SignInManager SignInManager; @inject MoneroLikeConfiguration MoneroLikeConfiguration; @inject IScopeProvider ScopeProvider @{ var storeId = ScopeProvider.GetCurrentStoreId(); var isActive = !string.IsNullOrEmpty(storeId) && ViewContext.RouteData.Values.TryGetValue("Controller", out var controller) && controller is not null && nameof(UIMoneroLikeStoreController).StartsWith(controller.ToString() ?? string.Empty, StringComparison.InvariantCultureIgnoreCase); } @if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && MoneroLikeConfiguration.MoneroLikeConfigurationItems.Any()) { Monero }