Policies: Cleanup and improvements (#5731)

* Policies: Turn checkboxes into toggles

* Move email policy to server email settings

* Move maintenance policies to server maintenance settings

* Policies: Adjust spacings

* Policies: Remove DisableInstantNotifications setting

* Wording updates

* Move maintenance settings back
This commit is contained in:
d11n
2024-02-21 14:43:44 +01:00
committed by GitHub
parent 55a8ba0905
commit 9c95b98f3a
13 changed files with 356 additions and 311 deletions

View File

@@ -1,11 +1,10 @@
using System.ComponentModel.DataAnnotations;
namespace BTCPayServer.Models.ServerViewModels
namespace BTCPayServer.Models.ServerViewModels;
public class MaintenanceViewModel
{
public class MaintenanceViewModel
{
[Display(Name = "Change domain")]
public string DNSDomain { get; set; }
public bool CanUseSSH { get; internal set; }
}
[Display(Name = "Domain name")]
public string DNSDomain { get; set; }
public bool CanUseSSH { get; internal set; }
}