btcpayserver/BTCPayServer/wwwroot/main
Andrew Camilleri 09462e6877
Enhance Store email capability (#3911)
* Enhance Store email capability

Currenty the new email rules can send an email when an invoice event occurs. However, there is currently no way to customize the email based on the invoice, making the feature a bit useless.

This PR:
* adds the rich text editor to the body input
* allows you to use some of the properties from the Invoice (based on greenfield api properties. I've taken a imple approach for now using just  a string.replace mechanism, but we can update this to a dynamic linq approach so that users can customize further (e.g. `{Invoice.Metadata["something"].ToString().ToUpper()}`)

NOT READY:
Since this all takes place as a background service, there is an issue around how to handle items such as the "checkout link", as we are not aware of the btcpay url at that moment. Thoughts? @nicolasdorier

* fix typo and make it simpler for now

* remove dditor
2022-07-06 22:17:33 +09:00
..
bootstrap Add custom bg and border classes 2022-06-06 10:32:15 +02:00
fonts Fix: Fonts and Home background not loading properly when using rootpath 2021-10-25 15:14:05 +09:00
themes Improve payouts UI (#3792) 2022-06-02 11:03:06 +02:00
layout.css Fix nav height issue on mobile devices (#3888) 2022-06-21 13:04:50 +09:00
qrcode.css QR container display fixes 2022-03-04 10:49:36 +00:00
site.css Dashboard: Load Lightning balance async, display default currency (#3907) 2022-07-04 11:03:16 +09:00
site.js Enhance Store email capability (#3911) 2022-07-06 22:17:33 +09:00
template-editor.css Improves create point of sale view (#2646) 2021-07-23 12:57:19 +02:00
utils.js Fix copy pay button code (#3175) 2021-12-04 21:12:15 +01:00
wizard.css Refactor Authorize UI 2022-06-29 15:36:54 +02:00