diff --git a/emails/templates/layouts/default.txt b/emails/templates/layouts/default.txt index 1a323c772d3..543f4ac140d 100644 --- a/emails/templates/layouts/default.txt +++ b/emails/templates/layouts/default.txt @@ -1,3 +1,3 @@ {{> body }} -Sent by Grafana v[[.BuildVersion]] (c) 2021 Grafana Labs \ No newline at end of file +Sent by Grafana v[[.BuildVersion]] (c) 2022 Grafana Labs \ No newline at end of file diff --git a/emails/templates/ng_alert_notification.html b/emails/templates/ng_alert_notification.html index b7c7f6156dd..f97757e7869 100644 --- a/emails/templates/ng_alert_notification.html +++ b/emails/templates/ng_alert_notification.html @@ -4,6 +4,21 @@ [[Subject .Subject "[[.Title]]"]] [[ define "alert" ]] + + [[ if ne .ImageURL "" ]] + + + Alerting Panel + + + [[ end ]] + [[ if ne .EmbeddedImage "" ]] + + + Alerting Chart Attached Below + + + [[ end ]] Value: [[ .ValueString ]] @@ -101,7 +116,7 @@ [[ end ]] [[ if gt (len .Message) 0 ]] - [[ .Message ]] +
[[ .Message ]] [[ else ]]