Added support for using Transport name in templates (#9411)

This commit is contained in:
Neil Lathwood
2018-11-05 07:56:16 +00:00
committed by GitHub
parent 356357ad8d
commit 38e3250528
3 changed files with 5 additions and 3 deletions

View File

@@ -61,7 +61,8 @@ Placeholders are special variables that if used within the template will be repl
- Rule: `$alert->rule`
- Rule-Name: `$alert->name`
- Timestamp: `$alert->timestamp`
- Transport name: `$alert->transport`
- Transport type: `$alert->transport`
- Transport name: `$alert->transport_name`
- Contacts, must be iterated in a foreach, `$key` holds email and `$value` holds name: `$alert->contacts`
Placeholders can be used within the subjects for templates as well although $faults is most likely going to be worthless.