diff options
author | Dave Arter <davea@mysociety.org> | 2017-01-18 11:26:37 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-01-19 12:29:26 +0000 |
commit | 1ed0503cc5bf43a5697e732cdc4581445e54d214 (patch) | |
tree | a9b0df377f5900b4ee7b9b585ac2eaaefe9db477 /templates | |
parent | a8afa603afcd3be86d9705e97b193983bbf6b34e (diff) |
Include ‘Add user’ link on admin user search results page
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/users.html | 2 |
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' %] |