diff --git a/BTCPayServer/Controllers/UIStoresController.Email.cs b/BTCPayServer/Controllers/UIStoresController.Email.cs index be2c67520..75ad21ceb 100644 --- a/BTCPayServer/Controllers/UIStoresController.Email.cs +++ b/BTCPayServer/Controllers/UIStoresController.Email.cs @@ -19,15 +19,6 @@ namespace BTCPayServer.Controllers; public partial class UIStoresController { - - - // public class StoreEmailRuleViewModel - // { - // public List Rules { get; set; } - // } - - - [HttpGet("{storeId}/email-settings")] public async Task StoreEmailSettings(string storeId) { diff --git a/BTCPayServer/Views/UIStores/StoreEmails.cshtml b/BTCPayServer/Views/UIStores/StoreEmails.cshtml deleted file mode 100644 index 99e96577c..000000000 --- a/BTCPayServer/Views/UIStores/StoreEmails.cshtml +++ /dev/null @@ -1,211 +0,0 @@ -@using BTCPayServer.HostedServices.Webhooks -@using Microsoft.AspNetCore.Mvc.TagHelpers -@using BTCPayServer.Client -@using BTCPayServer.Abstractions.TagHelpers -@model BTCPayServer.Controllers.UIStoresController.StoreEmailRuleViewModel -@inject WebhookSender WebhookSender - -@{ - var storeId = Context.GetStoreData().Id; - ViewData.SetActivePage(StoreNavPages.Emails, StringLocalizer["Email Rules"], storeId); -} - -@section PageHeadContent { - -} - -
- - -

- Email rules allow BTCPay Server to send customized emails from your store based on events. -

-
-
- @if (!ViewContext.ModelState.IsValid) - { -
- } - @if (Model.Rules.Any()) - { -
    - @for (var index = 0; index < Model.Rules.Count; index++) - { - - } -
- } - else - { -

- There are no rules yet. -

- } -
-
- - -@section PageFootContent { - - - -}