From 6c7d3ae0bfdd6d03f8e697cc71041b83d00aa23d Mon Sep 17 00:00:00 2001 From: rockstardev Date: Thu, 30 Jul 2020 20:57:12 -0500 Subject: [PATCH] Adding checkbox for check new version policy --- BTCPayServer.Tests/UnitTest1.cs | 1 - BTCPayServer/Services/PoliciesSettings.cs | 2 +- BTCPayServer/Views/Server/Policies.cshtml | 5 +++++ 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/BTCPayServer.Tests/UnitTest1.cs b/BTCPayServer.Tests/UnitTest1.cs index ca29fccd5..1b90ed83c 100644 --- a/BTCPayServer.Tests/UnitTest1.cs +++ b/BTCPayServer.Tests/UnitTest1.cs @@ -3130,7 +3130,6 @@ namespace BTCPayServer.Tests var envMock = tester.PayTester.GetService(); // modifying environment to simulate production - envMock.NetworkType = NetworkType.Mainnet; envMock.Environment.EnvironmentName = "Production"; var notificationSender = tester.PayTester.GetService(); diff --git a/BTCPayServer/Services/PoliciesSettings.cs b/BTCPayServer/Services/PoliciesSettings.cs index 39793ad46..a2305e671 100644 --- a/BTCPayServer/Services/PoliciesSettings.cs +++ b/BTCPayServer/Services/PoliciesSettings.cs @@ -24,7 +24,7 @@ namespace BTCPayServer.Services public bool AllowHotWalletForAll { get; set; } [Display(Name = "Allow non-admins to import their hot wallets to the node wallet")] public bool AllowHotWalletRPCImportForAll { get; set; } - [Display(Name = "Check releases on GitHub and alert when new BTCPayServer versions is available")] + [Display(Name = "Check releases on GitHub and alert when new BTCPayServer version is available")] public bool CheckForNewVersions { get; set; } [Display(Name = "Display app on website root")] diff --git a/BTCPayServer/Views/Server/Policies.cshtml b/BTCPayServer/Views/Server/Policies.cshtml index f28c0e2d8..a097216ec 100644 --- a/BTCPayServer/Views/Server/Policies.cshtml +++ b/BTCPayServer/Views/Server/Policies.cshtml @@ -42,6 +42,11 @@ +
+ + + +