grafana/emails
Konrad Lalik bb88cf683c
Alerting: Fix alert notification template (#44761)
* Wrap the inner template into div to prevent premailer from breaking the HTML structure

* Remove test row

* Add wrapper explanation

* Remove redundant code

* Add empty line
2022-02-03 14:17:05 +01:00
..
assets/css Alerting: Layout fixes for email template (#40676) 2021-10-22 09:12:37 +02:00
grunt Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00
templates Alerting: Fix alert notification template (#44761) 2022-02-03 14:17:05 +01:00
gruntfile.js Prettier: Upgrade to 2 (#30387) 2021-01-20 07:59:48 +01:00
package.json Emails: Update notification templates (#19662) 2019-10-31 10:33:33 -07:00
README.md Email: Allow configuration of content types for email notifications (#34530) 2021-07-19 13:31:51 +03:00

Prerequisites

  • npm install
  • gem install premailer

Tasks

  • npm run build (default task will build new inlines email templates)
  • npm start (builds on source HTML, text, or CSS change)

Result

Assembled email templates will be in dist/ and final inlined templates will be in ../public/emails/