Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7732afdf
Commit
7732afdf
authored
Sep 11, 2020
by
Corinna Wiesner
Committed by
Vitaly Slobodin
Sep 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add namespace id to users page in admin area
parent
f174031b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+4
-0
changelogs/unreleased/add_namespace_id_to_users_in_admin_area.yml
...gs/unreleased/add_namespace_id_to_users_in_admin_area.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+3
-0
spec/features/admin/admin_users_spec.rb
spec/features/admin/admin_users_spec.rb
+2
-1
No files found.
app/views/admin/users/show.html.haml
View file @
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:
...
...
changelogs/unreleased/add_namespace_id_to_users_in_admin_area.yml
0 → 100644
View file @
7732afdf
---
title
:
Add namespace ID to user pages in the admin area
merge_request
:
41877
author
:
type
:
added
locale/gitlab.pot
View file @
7732afdf
...
...
@@ -16382,6 +16382,9 @@ msgstr ""
msgid "Namespace"
msgstr ""
msgid "Namespace ID:"
msgstr ""
msgid "Namespace is empty"
msgstr ""
...
...
spec/features/admin/admin_users_spec.rb
View file @
7732afdf
...
...
@@ -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'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment