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
a7f8c5ee
Commit
a7f8c5ee
authored
May 17, 2019
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve CE/EE diffs in admin users head
Part of single codebase changes.
parent
5763f240
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
app/views/admin/users/_head.html.haml
app/views/admin/users/_head.html.haml
+1
-2
ee/app/views/admin/users/_auditor_user_badge.html.haml
ee/app/views/admin/users/_auditor_user_badge.html.haml
+2
-0
No files found.
app/views/admin/users/_head.html.haml
View file @
a7f8c5ee
...
...
@@ -6,8 +6,7 @@
%span
.cred
(Internal)
-
if
@user
.
admin
%span
.cred
(Admin)
-
if
@user
.
auditor
%span
.cred
(Auditor)
=
render_if_exists
'admin/users/audtior_user_badge'
.float-right
-
if
impersonation_enabled?
&&
@user
!=
current_user
&&
@user
.
can?
(
:log_in
)
...
...
ee/app/views/admin/users/_auditor_user_badge.html.haml
0 → 100644
View file @
a7f8c5ee
-
if
@user
.
auditor
%span
.cred
(Auditor)
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