Commit 7732afdf authored by Corinna Wiesner's avatar Corinna Wiesner Committed by Vitaly Slobodin

Add namespace id to users page in admin area

parent f174031b
......@@ -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