mirror of
https://github.com/grafana/grafana.git
synced 2024-11-25 18:30:41 -06:00
8dab3bf36c
* 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> |
||
---|---|---|
.. | ||
grunt | ||
templates | ||
gruntfile.js | ||
Makefile | ||
package.json | ||
README.md |
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/