grafana/pkg/services/notifications
Michael Mandrus 8dab3bf36c
SMTP: Update email templates to include populated <title> tag (#61430)
* add .TemplateData property to data in order to populate template <title> tags with the compiled subject value

* update all templates

* re-enable integration test and update implementation to check changes

* chore: fmt

* add HiddenSubject template func and update text templates

* slight performance improvement, only execute subject template once

* update template I missed

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2023-01-30 16:56:23 -05:00
..
codes.go
codes_test.go
email.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
mailer.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
mock.go
models.go
notifications.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
notifications_test.go
send_email_integration_test.go SMTP: Update email templates to include populated <title> tag (#61430) 2023-01-30 16:56:23 -05:00
smtp.go
smtp_test.go
testing.go
webhook.go