Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-18 18:56:15 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-06-19 16:29:52 +0300
commit228da2dd28a91b3ab2729787e93e72940975a2bd (patch)
treedf1741c721712cf758034e5a579fd5a91f91d8b0 /app/views/admin/identities
parent74a6732c0dfc1416cad382203544d9c4d6246f58 (diff)
Admin can see and remove user identities
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/admin/identities')
-rw-r--r--app/views/admin/identities/_identity.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/admin/identities/_identity.html.haml b/app/views/admin/identities/_identity.html.haml
new file mode 100644
index 00000000000..b94edefaa41
--- /dev/null
+++ b/app/views/admin/identities/_identity.html.haml
@@ -0,0 +1,11 @@
+%tr
+ %td
+ = identity.provider
+ %td
+ = identity.extern_uid
+ %td
+ = link_to [:admin, @user, identity], method: :delete,
+ class: 'btn btn-xs btn-danger',
+ data: { confirm: "Are you sure you want to remove this identity" } do
+ %i.fa.fa-trash
+ Delete