From 99b8eef7e373a000f35016415ba2148f939c1155 Mon Sep 17 00:00:00 2001 From: Thomas Balthazar Date: Wed, 18 May 2016 13:54:33 +0200 Subject: Send email notification when username changed (#3022) --- templates/username_change_body.html | 41 ++++++++++++++++++++++++++++++++++ templates/username_change_subject.html | 1 + 2 files changed, 42 insertions(+) create mode 100644 templates/username_change_body.html create mode 100644 templates/username_change_subject.html (limited to 'templates') diff --git a/templates/username_change_body.html b/templates/username_change_body.html new file mode 100644 index 000000000..56c383d49 --- /dev/null +++ b/templates/username_change_body.html @@ -0,0 +1,41 @@ +{{define "username_change_body"}} + + + + + +
+ + + + +
+ + + + + + + + + {{template "email_footer" . }} + +
+ +
+ + + + + + {{template "email_info" . }} + +
+

{{.Props.Title}}

+

{{.Html.Info}}

+
+
+
+
+ +{{end}} diff --git a/templates/username_change_subject.html b/templates/username_change_subject.html new file mode 100644 index 000000000..1c94bb7c0 --- /dev/null +++ b/templates/username_change_subject.html @@ -0,0 +1 @@ +{{define "username_change_subject"}}[{{.Props.SiteName}}] {{.Props.Subject}}{{end}} -- cgit v1.2.3-1-g7c22