mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
* 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
18 lines
480 B
C#
18 lines
480 B
C#
using System.ComponentModel.DataAnnotations;
|
|
using BTCPayServer.Services.Mails;
|
|
|
|
namespace BTCPayServer.Models.ServerViewModels;
|
|
|
|
public class ServerEmailsViewModel : EmailsViewModel
|
|
{
|
|
[Display(Name = "Allow Stores use the Server's SMTP email settings as their default")]
|
|
public bool EnableStoresToUseServerEmailSettings { get; set; }
|
|
|
|
public ServerEmailsViewModel()
|
|
{
|
|
}
|
|
|
|
public ServerEmailsViewModel(EmailSettings settings) : base(settings)
|
|
{
|
|
}
|
|
}
|