diff --git a/BTCPayServer/Controllers/StoresController.LightningLike.cs b/BTCPayServer/Controllers/StoresController.LightningLike.cs index 6fe0b8557..46b892494 100644 --- a/BTCPayServer/Controllers/StoresController.LightningLike.cs +++ b/BTCPayServer/Controllers/StoresController.LightningLike.cs @@ -157,7 +157,7 @@ namespace BTCPayServer.Controllers await handler.TestConnection(info, cts.Token); } } - TempData[WellKnownTempData.SuccessMessage] = $"Connection to the lightning node succeeded ({info})"; + TempData[WellKnownTempData.SuccessMessage] = $"Connection to the lightning node succeeded. Your node address: {info}"; } catch (Exception ex) { diff --git a/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs b/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs index 86146bfbf..fc8b086c4 100644 --- a/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs +++ b/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs @@ -18,6 +18,8 @@ namespace BTCPayServer.Models.StoreViewModels } public string InternalLightningNode { get; internal set; } public bool SkipPortTest { get; set; } + + [Display(Name="Lightning enabled")] public bool Enabled { get; set; } = true; public string StoreId { get; set; } diff --git a/BTCPayServer/Views/Stores/AddLightningNode.cshtml b/BTCPayServer/Views/Stores/AddLightningNode.cshtml index bc488bc9e..0997ed79b 100644 --- a/BTCPayServer/Views/Stores/AddLightningNode.cshtml +++ b/BTCPayServer/Views/Stores/AddLightningNode.cshtml @@ -1,24 +1,22 @@ @model LightningNodeViewModel @{ Layout = "../Shared/_NavLayout.cshtml"; - ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Add lightning node (Experimental)"); + ViewData.SetActivePageAndTitle(StoreNavPages.Index, "Add lightning node"); } -