Commit ad6c1cd7 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'add_namespace_id_to_users_in_admin_area' into 'master'

Add namespace id to users page in admin area

See merge request gitlab-org/gitlab!41877
parents ba920779 7732afdf
......@@ -44,6 +44,10 @@
%span.light ID:
%strong
= @user.id
%li
%span.light= _('Namespace ID:')
%strong
= @user.namespace_id
%li.two-factor-status
%span.light Two-factor Authentication:
......
---
title: Add namespace ID to user pages in the admin area
merge_request: 41877
author:
type: added
......@@ -16382,6 +16382,9 @@ msgstr ""
msgid "Namespace"
msgstr ""
msgid "Namespace ID:"
msgstr ""
msgid "Namespace is empty"
msgstr ""
......
......@@ -279,7 +279,8 @@ RSpec.describe "Admin::Users" do
expect(page).to have_content(user.email)
expect(page).to have_content(user.name)
expect(page).to have_content(user.id)
expect(page).to have_content("ID: #{user.id}")
expect(page).to have_content("Namespace ID: #{user.namespace_id}")
expect(page).to have_button('Deactivate user')
expect(page).to have_button('Block user')
expect(page).to have_button('Delete user')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment