aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/user_edit.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin/user_edit.html')
-rw-r--r--templates/web/base/admin/user_edit.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/web/base/admin/user_edit.html b/templates/web/base/admin/user_edit.html
index d69c873a3..5bfdf341f 100644
--- a/templates/web/base/admin/user_edit.html
+++ b/templates/web/base/admin/user_edit.html
@@ -1,4 +1,9 @@
-[% INCLUDE 'admin/header.html' title=tprintf(loc('Editing user %d'), user.id ) -%]
+[% IF user.id ~%]
+ [% title = tprintf(loc('Editing user %d'), user.id ) ~%]
+[% ELSE ~%]
+ [% title = loc('Add user') ~%]
+[% END ~%]
+[% INCLUDE 'admin/header.html' title=title -%]
[% PROCESS 'admin/report_blocks.html' %]
[% status_message %]