- {{Subject .Subject "{{.Title}}"}}
diff --git a/public/emails/alert_notification.txt b/public/emails/alert_notification.txt
index 9e16ea5574f..bd2942b356f 100644
--- a/public/emails/alert_notification.txt
+++ b/public/emails/alert_notification.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "{{.Title}}"}}
+{{HiddenSubject .Subject "{{.Title}}"}}
{{.Title}}
----------------
diff --git a/public/emails/invited_to_org.html b/public/emails/invited_to_org.html
index edbab072a83..ad3f5f57a6b 100644
--- a/public/emails/invited_to_org.html
+++ b/public/emails/invited_to_org.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "{{ .InvitedBy }} has added you to the {{ .OrgName }} organization" }}
+ {{ Subject .Subject .TemplateData "{{ .InvitedBy }} has added you to the {{ .OrgName }} organization" }}
diff --git a/public/emails/invited_to_org.txt b/public/emails/invited_to_org.txt
index 61982198bef..c0dd496f6f9 100644
--- a/public/emails/invited_to_org.txt
+++ b/public/emails/invited_to_org.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "{{.InvitedBy}} has added you to the {{.OrgName}} organization"}}
+{{HiddenSubject .Subject "{{.InvitedBy}} has added you to the {{.OrgName}} organization"}}
You have been added to {{.OrgName}}
diff --git a/public/emails/new_user_invite.html b/public/emails/new_user_invite.html
index dd70e3d50f7..00f98c59305 100644
--- a/public/emails/new_user_invite.html
+++ b/public/emails/new_user_invite.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "{{ .InvitedBy }} has invited you to join Grafana" }}
+ {{ Subject .Subject .TemplateData "{{ .InvitedBy }} has invited you to join Grafana" }}
diff --git a/public/emails/new_user_invite.txt b/public/emails/new_user_invite.txt
index 2cc475a1052..ba52605d432 100644
--- a/public/emails/new_user_invite.txt
+++ b/public/emails/new_user_invite.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "{{.InvitedBy}} has invited you to join Grafana"}}
+{{HiddenSubject .Subject "{{.InvitedBy}} has invited you to join Grafana"}}
You're invited to join {{.OrgName}}
diff --git a/public/emails/ng_alert_notification.html b/public/emails/ng_alert_notification.html
index d4858b482f9..91b5b7a0131 100644
--- a/public/emails/ng_alert_notification.html
+++ b/public/emails/ng_alert_notification.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "{{ .Title }}" }}
+ {{ Subject .Subject .TemplateData "{{ .Title }}" }}
@@ -238,8 +238,7 @@
-
-
+
{{ range $line := (splitList "\n" .Message) }}
{{ $line }}
@@ -469,8 +468,7 @@
|
-
-
+
{{ range $line := (splitList "\n" .Annotations.description) }}
{{ $line }}
@@ -532,8 +530,7 @@
-
-
+
{{ range $refID, $value := .Values }}
{{ $refID }}={{ $value }}
@@ -978,8 +975,7 @@
|
-
-
+
{{ range $line := (splitList "\n" .Annotations.description) }}
{{ $line }}
@@ -1041,8 +1037,7 @@
-
-
+
{{ range $refID, $value := .Values }}
{{ $refID }}={{ $value }}
diff --git a/public/emails/ng_alert_notification.txt b/public/emails/ng_alert_notification.txt
index be157396c17..c002c21809a 100644
--- a/public/emails/ng_alert_notification.txt
+++ b/public/emails/ng_alert_notification.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "{{.Title}}"}}
+{{HiddenSubject .Subject "{{.Title}}"}}
{{.Title}}
----------------
diff --git a/public/emails/reset_password.html b/public/emails/reset_password.html
index b064b21c180..351b56c8e81 100644
--- a/public/emails/reset_password.html
+++ b/public/emails/reset_password.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "Reset your Grafana password - {{.Name}}" }}
+ {{ Subject .Subject .TemplateData "Reset your Grafana password - {{.Name}}" }}
diff --git a/public/emails/reset_password.txt b/public/emails/reset_password.txt
index 0b15365f391..b8bf248c1a5 100644
--- a/public/emails/reset_password.txt
+++ b/public/emails/reset_password.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "Reset your Grafana password - {{.Name}}"}}
+{{HiddenSubject .Subject "Reset your Grafana password - {{.Name}}"}}
Hi {{.Name}},
diff --git a/public/emails/signup_started.html b/public/emails/signup_started.html
index 48d4c6236df..a65fcffb719 100644
--- a/public/emails/signup_started.html
+++ b/public/emails/signup_started.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "Welcome to Grafana, please complete your sign up!" }}
+ {{ Subject .Subject .TemplateData "Welcome to Grafana, please complete your sign up!" }}
diff --git a/public/emails/signup_started.txt b/public/emails/signup_started.txt
index a40e7403ecd..d3ef663dcd5 100644
--- a/public/emails/signup_started.txt
+++ b/public/emails/signup_started.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "Welcome to Grafana, please complete your sign up!"}}
+{{HiddenSubject .Subject "Welcome to Grafana, please complete your sign up!"}}
Complete the signup
diff --git a/public/emails/welcome_on_signup.html b/public/emails/welcome_on_signup.html
index a532fc8a58a..3957a2b3702 100644
--- a/public/emails/welcome_on_signup.html
+++ b/public/emails/welcome_on_signup.html
@@ -3,7 +3,7 @@
- {{ Subject .Subject "Welcome to Grafana" }}
+ {{ Subject .Subject .TemplateData "Welcome to Grafana" }}
diff --git a/public/emails/welcome_on_signup.txt b/public/emails/welcome_on_signup.txt
index 4608fa9e82e..7cb76f788dd 100644
--- a/public/emails/welcome_on_signup.txt
+++ b/public/emails/welcome_on_signup.txt
@@ -1,4 +1,4 @@
-{{Subject .Subject "Welcome to Grafana"}}
+{{HiddenSubject .Subject "Welcome to Grafana"}}
Hi {{.Name}},
| | | |