summaryrefslogtreecommitdiff
path: root/app/views/admin/keys
diff options
context:
space:
mode:
authorMarin Jankovski <maxlazio@gmail.com>2014-12-30 10:15:11 +0100
committerMarin Jankovski <maxlazio@gmail.com>2014-12-30 10:15:11 +0100
commit82829ed49e11a173275633cad63978e4ee07e927 (patch)
tree1ed868a3ddffb03acf86da5207750521e8156930 /app/views/admin/keys
parentc1e57b47b81db4b3959b0ce63d7f65cb6cdf6f57 (diff)
downloadgitlab-ce-82829ed49e11a173275633cad63978e4ee07e927.tar.gz
Move user key manipulation in admin section to a separate controller.
Diffstat (limited to 'app/views/admin/keys')
-rw-r--r--app/views/admin/keys/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/keys/show.html.haml b/app/views/admin/keys/show.html.haml
new file mode 100644
index 00000000000..2ea05b6aa00
--- /dev/null
+++ b/app/views/admin/keys/show.html.haml
@@ -0,0 +1,4 @@
+= render "profiles/keys/key_details"
+
+.pull-right
+ = link_to 'Remove', admin_user_key_path(@user, @key), data: {confirm: 'Are you sure?'}, method: :delete, class: "btn btn-remove delete-key"