aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-01-18 11:26:37 +0000
committerMatthew Somerville <matthew-github@dracos.co.uk>2017-01-19 12:29:26 +0000
commit1ed0503cc5bf43a5697e732cdc4581445e54d214 (patch)
treea9b0df377f5900b4ee7b9b585ac2eaaefe9db477 /templates
parenta8afa603afcd3be86d9705e97b193983bbf6b34e (diff)
Include ‘Add user’ link on admin user search results page
Diffstat (limited to 'templates')
-rw-r--r--templates/web/base/admin/users.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/web/base/admin/users.html b/templates/web/base/admin/users.html
index 47901aed8..8e35e1c31 100644
--- a/templates/web/base/admin/users.html
+++ b/templates/web/base/admin/users.html
@@ -47,6 +47,8 @@
[% IF NOT searched %]
<h2>[% loc('Add user') %]</h2>
[% INCLUDE 'admin/user-form.html', user = '' %]
+[% ELSE %]
+<a href="[% c.uri_for( c.controller('Admin').action_for('user_add') ) %]">[% loc('Add user') %]</a>
[% END %]
[% INCLUDE 'admin/footer.html' %]