2021-12-31 08:36:38 +01:00
|
|
|
@using BTCPayServer.Views.Stores
|
2023-08-24 16:31:49 +02:00
|
|
|
@using BTCPayServer.Client
|
2021-12-31 08:36:38 +01:00
|
|
|
@{
|
2023-02-02 01:42:41 +01:00
|
|
|
const string cryptoCode = "BTC";
|
2021-12-31 08:36:38 +01:00
|
|
|
var store = Context.GetStoreData();
|
|
|
|
}
|
|
|
|
|
2024-04-04 16:31:04 +09:00
|
|
|
@if (store.IsLightningEnabled(cryptoCode) && store.IsLNUrlEnabled(cryptoCode))
|
2021-12-31 08:36:38 +01:00
|
|
|
{
|
2023-08-24 16:31:49 +02:00
|
|
|
<li class="nav-item" permission="@Policies.CanModifyStoreSettings">
|
2024-06-19 15:23:10 +02:00
|
|
|
<a asp-area="" asp-controller="UILNURL" asp-action="EditLightningAddress" asp-route-storeId="@store.Id" class="nav-link @ViewData.ActivePageClass("LightningAddress", nameof(StoreNavPages))" id="StoreNav-LightningAddress">
|
2024-05-20 01:57:46 +02:00
|
|
|
<vc:icon symbol="nav-lightning-address "/>
|
2024-10-14 14:11:00 +09:00
|
|
|
<span text-translate="true">Lightning Address</span>
|
2021-12-31 08:36:38 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
}
|