From 8d14848671615766b08d4dedad1e2d796963bfea Mon Sep 17 00:00:00 2001
From: wellingtonbalbo
Date: Sat, 12 Apr 2025 13:07:20 -0300
Subject: [PATCH] Fix adding a confirmation for deletion of Email Rules.
Also added a template on how we could call the confirmation screen using Javascript, without refreshing the page.
Finally, added a UX way to close the modal, pressing ESC.
---
.../Views/UIStores/StoreEmailRulesList.cshtml | 44 ++++++++++++++++++-
1 file changed, 42 insertions(+), 2 deletions(-)
diff --git a/BTCPayServer/Views/UIStores/StoreEmailRulesList.cshtml b/BTCPayServer/Views/UIStores/StoreEmailRulesList.cshtml
index e949b7fbf..3f5fa6b57 100644
--- a/BTCPayServer/Views/UIStores/StoreEmailRulesList.cshtml
+++ b/BTCPayServer/Views/UIStores/StoreEmailRulesList.cshtml
@@ -28,6 +28,24 @@
Email rules allow BTCPay Server to send customized emails from your store based on events.