From 280c32afdce41c473a5844ee6553ff03544750f6 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Thu, 7 Nov 2019 16:59:02 +0900 Subject: [PATCH] Confirm suspension before submitting the form This also includes a bit of explanation about what suspending a user actually does. Ref T661 --- templates/user/admin/view-user.tmpl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/user/admin/view-user.tmpl b/templates/user/admin/view-user.tmpl index 9226c39..3b13c33 100644 --- a/templates/user/admin/view-user.tmpl +++ b/templates/user/admin/view-user.tmpl @@ -57,7 +57,7 @@ td.active-suspend > input[type="submit"] { {{if .LastPost}}{{.LastPost}}{{else}}Never{{end}} -
+ Status @@ -116,5 +116,11 @@ td.active-suspend > input[type="submit"] { {{end}} + + {{template "footer" .}} {{end}}