mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Adding checkbox for check new version policy
This commit is contained in:
parent
51211dccb0
commit
6c7d3ae0bf
3 changed files with 6 additions and 2 deletions
|
@ -3130,7 +3130,6 @@ namespace BTCPayServer.Tests
|
|||
|
||||
var envMock = tester.PayTester.GetService<BTCPayServerEnvironment>();
|
||||
// modifying environment to simulate production
|
||||
envMock.NetworkType = NetworkType.Mainnet;
|
||||
envMock.Environment.EnvironmentName = "Production";
|
||||
|
||||
var notificationSender = tester.PayTester.GetService<Services.Notifications.NotificationSender>();
|
||||
|
|
|
@ -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")]
|
||||
|
|
|
@ -42,6 +42,11 @@
|
|||
<label asp-for="AllowHotWalletRPCImportForAll" class="form-check-label"></label>
|
||||
<span asp-validation-for="AllowHotWalletRPCImportForAll" class="text-danger"></span>
|
||||
</div>
|
||||
<div class="form-check">
|
||||
<input asp-for="CheckForNewVersions" type="checkbox" class="form-check-input" />
|
||||
<label asp-for="CheckForNewVersions" class="form-check-label"></label>
|
||||
<span asp-validation-for="CheckForNewVersions" class="text-danger"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label asp-for="RootAppId"></label>
|
||||
|
|
Loading…
Add table
Reference in a new issue