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
33274b22
Commit
33274b22
authored
Apr 02, 2019
by
Dennis Tang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move EE differences for `app/views/admin/users/show.html.haml`
parent
e232bdf3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
13 deletions
+16
-13
app/views/admin/users/_user_detail.html.haml
app/views/admin/users/_user_detail.html.haml
+1
-1
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+5
-9
ee/app/views/admin/users/_user_detail_note.html.haml
ee/app/views/admin/users/_user_detail_note.html.haml
+7
-3
ee/app/views/admin/users/_user_listing_note.html.haml
ee/app/views/admin/users/_user_listing_note.html.haml
+3
-0
No files found.
app/views/admin/users/_user_detail.html.haml
View file @
33274b22
...
...
@@ -6,7 +6,7 @@
=
image_tag
avatar_icon_for_user
(
user
),
class:
'avatar s16 d-xs-flex d-md-none mr-1 prepend-top-2'
,
alt:
_
(
'Avatar for %{name}'
)
%
{
name:
sanitize_name
(
user
.
name
)
}
=
link_to
user
.
name
,
admin_user_path
(
user
),
class:
'text-plain js-user-link'
,
data:
{
user_id:
user
.
id
}
=
render_if_exists
'admin/users/user_
detail
_note'
,
user:
user
=
render_if_exists
'admin/users/user_
listing
_note'
,
user:
user
-
user_badges_in_admin_section
(
user
).
each
do
|
badge
|
-
css_badge
=
"badge badge-
#{
badge
[
:variant
]
}
"
if
badge
[
:variant
].
present?
...
...
app/views/admin/users/show.html.haml
View file @
33274b22
...
...
@@ -53,7 +53,7 @@
-
else
Disabled
=
render
'admin/namespace_plan_info'
,
namespace:
@user
.
namespace
=
render
_if_exists
'admin/namespace_plan_info'
,
namespace:
@user
.
namespace
%li
%span
.light
External User:
...
...
@@ -136,7 +136,7 @@
%strong
=
link_to
@user
.
created_by
.
name
,
[
:admin
,
@user
.
created_by
]
=
render
partial:
"namespaces/shared_runner_status"
,
locals:
{
namespace:
@user
.
namespace
}
=
render
_if_exists
'namespaces/shared_runner_status'
,
namespace:
@user
.
namespace
.col-md-6
-
unless
@user
==
current_user
...
...
@@ -150,13 +150,9 @@
%p
This user has an unconfirmed email address
#{
email
}
. You may force a confirmation.
%br
=
link_to
'Confirm user'
,
confirm_admin_user_path
(
@user
),
method: :put
,
class:
"btn btn-info"
,
data:
{
confirm:
'Are you sure?'
}
-
if
@user
.
note
.
present?
-
text
=
@user
.
note
.card.border-info
.card-header.bg-info.text-white
Admin Note
.card-body
%p
=
text
=
render_if_exists
'admin/users/user_detail_note'
-
if
@user
.
blocked?
.card.border-info
.card-header.bg-info.text-white
...
...
ee/app/views/admin/users/_user_detail_note.html.haml
View file @
33274b22
-
if
user
.
note
.
present?
%span
.has-tooltip.user-note
{
title:
user
.
note
}
=
icon
(
"sticky-note-o cgrey"
)
-
if
@user
.
note
.
present?
-
text
=
@user
.
note
.card.border-info
.card-header.bg-info.text-white
Admin Note
.card-body
%p
=
text
ee/app/views/admin/users/_user_listing_note.html.haml
0 → 100644
View file @
33274b22
-
if
user
.
note
.
present?
%span
.has-tooltip.user-note
{
title:
user
.
note
}
=
icon
(
"sticky-note-o cgrey"
)
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