summaryrefslogtreecommitdiff
path: root/app/views/admin
diff options
context:
space:
mode:
authorEva Kadlecová <evka.kadl@gmail.com>2018-08-19 21:13:48 +0200
committerEva Kadlecová <evka.kadl@gmail.com>2018-08-21 21:17:56 +0200
commit894e9c7f30a5d47eccf48796c7d52109c2af99e3 (patch)
tree41f5e9012f36cb154bf5ad5b7ff9c4365c528f30 /app/views/admin
parent120ce02e5e7e72654cb42edddc25ff3b057ec136 (diff)
downloadgitlab-ce-894e9c7f30a5d47eccf48796c7d52109c2af99e3.tar.gz
Expose user's id in /admin/users/ show page.
Diffstat (limited to 'app/views/admin')
-rw-r--r--app/views/admin/users/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/admin/users/show.html.haml b/app/views/admin/users/show.html.haml
index 029efadd75d..a74e052707f 100644
--- a/app/views/admin/users/show.html.haml
+++ b/app/views/admin/users/show.html.haml
@@ -39,6 +39,10 @@
%strong= email.email
= link_to remove_email_admin_user_path(@user, email), data: { confirm: "Are you sure you want to remove #{email.email}?" }, method: :delete, class: "btn-sm btn btn-remove float-right", title: 'Remove secondary email', id: "remove_email_#{email.id}" do
%i.fa.fa-times
+ %li
+ %span.light ID:
+ %strong
+ = @user.id
%li.two-factor-status
%span.light Two-factor Authentication: