@using BTCPayServer.Services.Altcoins.Zcash.Configuration @using BTCPayServer.Services.Altcoins.Zcash.UI @using Microsoft.AspNetCore.Mvc.TagHelpers @using BTCPayServer.Abstractions.Contracts @inject SignInManager SignInManager; @inject ZcashLikeConfiguration ZcashLikeConfiguration; @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(UIZcashLikeStoreController).StartsWith(controller.ToString() ?? string.Empty, StringComparison.InvariantCultureIgnoreCase); } @if (SignInManager.IsSignedIn(User) && User.IsInRole(Roles.ServerAdmin) && ZcashLikeConfiguration.ZcashLikeConfigurationItems.Any()) { Zcash }