mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Add Tests Add Index, XPub to payment data Add Note on local ETH node Fix Sync Summary and Race Condition
11 lines
692 B
Text
11 lines
692 B
Text
@using BTCPayServer.Services.Altcoins.Ethereum.UI
|
|
@inject SignInManager<ApplicationUser> SignInManager;
|
|
@inject BTCPayNetworkProvider BTCPayNetworkProvider;
|
|
@{
|
|
var controller = ViewContext.RouteData.Values["Controller"].ToString();
|
|
var isEthereum = controller.Equals(nameof(EthereumLikeStoreController), StringComparison.InvariantCultureIgnoreCase);
|
|
}
|
|
@if (SignInManager.IsSignedIn(User) && BTCPayNetworkProvider.GetAll().OfType<EthereumBTCPayNetwork>().Any())
|
|
{
|
|
<a class="nav-link @(isEthereum ? "active" : string.Empty)" asp-route-storeId="@this.Context.GetRouteValue("storeId")" asp-action="GetStoreEthereumLikePaymentMethods" asp-controller="EthereumLikeStore">Ethereum</a>
|
|
}
|