diff --git a/BTCPayServer/Controllers/StoresController.LightningLike.cs b/BTCPayServer/Controllers/StoresController.LightningLike.cs index 43cea0a7c..a89621a39 100644 --- a/BTCPayServer/Controllers/StoresController.LightningLike.cs +++ b/BTCPayServer/Controllers/StoresController.LightningLike.cs @@ -159,7 +159,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 4163b9b87..25d985a17 100644 --- a/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs +++ b/BTCPayServer/Models/StoreViewModels/LightningNodeViewModel.cs @@ -23,6 +23,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..ec9181d01 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"); } -