diff --git a/BTCPayServer.Abstractions/Models/StatusMessageModel.cs b/BTCPayServer.Abstractions/Models/StatusMessageModel.cs index 2543cd400..5cfaef3a2 100644 --- a/BTCPayServer.Abstractions/Models/StatusMessageModel.cs +++ b/BTCPayServer.Abstractions/Models/StatusMessageModel.cs @@ -14,14 +14,6 @@ namespace BTCPayServer.Abstractions.Models public string SeverityCSS => ToString(Severity); - private void ParseNonJsonStatus(string s) - { - Message = s; - Severity = s.StartsWith("Error", StringComparison.InvariantCultureIgnoreCase) - ? StatusSeverity.Error - : StatusSeverity.Success; - } - public static string ToString(StatusSeverity severity) { switch (severity) diff --git a/BTCPayServer/PayoutProcessors/Lightning/UILightningAutomatedPayoutProcessorsController.cs b/BTCPayServer/PayoutProcessors/Lightning/UILightningAutomatedPayoutProcessorsController.cs index 0888e15b1..9f7994a14 100644 --- a/BTCPayServer/PayoutProcessors/Lightning/UILightningAutomatedPayoutProcessorsController.cs +++ b/BTCPayServer/PayoutProcessors/Lightning/UILightningAutomatedPayoutProcessorsController.cs @@ -127,7 +127,7 @@ public class UILightningAutomatedPayoutProcessorsController : Controller IntervalMinutes = blob.Interval.TotalMinutes; ProcessNewPayoutsInstantly = blob.ProcessNewPayoutsInstantly; } - + [Display(Name = "Process approved payouts instantly")] public bool ProcessNewPayoutsInstantly { get; set; } [Range(AutomatedPayoutConstants.MinIntervalMinutes, AutomatedPayoutConstants.MaxIntervalMinutes)] diff --git a/BTCPayServer/PayoutProcessors/OnChain/UIOnChainAutomatedPayoutProcessorsController.cs b/BTCPayServer/PayoutProcessors/OnChain/UIOnChainAutomatedPayoutProcessorsController.cs index 84a387dcb..6a297a17f 100644 --- a/BTCPayServer/PayoutProcessors/OnChain/UIOnChainAutomatedPayoutProcessorsController.cs +++ b/BTCPayServer/PayoutProcessors/OnChain/UIOnChainAutomatedPayoutProcessorsController.cs @@ -140,6 +140,7 @@ public class UIOnChainAutomatedPayoutProcessorsController : Controller Threshold = blob.Threshold; } + [Display(Name = "Process approved payouts instantly")] public bool ProcessNewPayoutsInstantly { get; set; } [Range(1, 1000)] diff --git a/BTCPayServer/Views/UILightningAutomatedPayoutProcessors/Configure.cshtml b/BTCPayServer/Views/UILightningAutomatedPayoutProcessors/Configure.cshtml index 172b7615f..2b2c864ac 100644 --- a/BTCPayServer/Views/UILightningAutomatedPayoutProcessors/Configure.cshtml +++ b/BTCPayServer/Views/UILightningAutomatedPayoutProcessors/Configure.cshtml @@ -30,7 +30,7 @@ }
Set a schedule for automated On-Chain Bitcoin Payouts.
+Set a schedule for automated On-Chain Bitcoin Payouts.
@if (!ViewContext.ModelState.IsValid) { }Payout Processors allow BTCPay Server to handle payouts in an automated way.