Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rescheduled 🗓️
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
c3lingo
rescheduled 🗓️
Commits
85170cc3
Commit
85170cc3
authored
2 weeks ago
by
Teal Bauer
Committed by
Teal
2 weeks ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix admin dashboard user list display
parent
dac40a12
No related branches found
No related tags found
1 merge request
!32
Sort stages alphabetically in manage, highlight blank stage names
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/views/admin/dashboard/index.html.erb
+6
-9
6 additions, 9 deletions
app/views/admin/dashboard/index.html.erb
with
6 additions
and
9 deletions
app/views/admin/dashboard/index.html.erb
+
6
−
9
View file @
85170cc3
...
...
@@ -109,9 +109,8 @@
<%
if
@admin_users
.
any?
%>
<div
class=
"flex flex-wrap gap-2"
>
<%
@admin_users
.
each
do
|
user
|
%>
<%=
link_to
admin_user_path
(
user
),
class:
"inline-flex items-center px-3 py-1 rounded-full text-sm bg-purple-100 text-purple-800 dark:bg-purple-900 dark:text-purple-200"
do
%>
<div
class=
"w-5 h-5 rounded-full mr-2"
style=
"background-color:
<%=
user
.
avatar_color
%>
"
></div>
<%=
user
.
name
%>
<%=
link_to
admin_user_path
(
user
)
do
%>
<%=
render
"application/user_avatar"
,
user:
user
%>
<%
end
%>
<%
end
%>
</div>
...
...
@@ -127,9 +126,8 @@
<%
if
@events_admins
.
any?
%>
<div
class=
"flex flex-wrap gap-2"
>
<%
@events_admins
.
each
do
|
user
|
%>
<%=
link_to
admin_user_path
(
user
),
class:
"inline-flex items-center px-3 py-1 rounded-full text-sm bg-blue-100 text-blue-800 dark:bg-blue-900 dark:text-blue-200"
do
%>
<div
class=
"w-5 h-5 rounded-full mr-2"
style=
"background-color:
<%=
user
.
avatar_color
%>
"
></div>
<%=
user
.
name
%>
<%=
link_to
admin_user_path
(
user
)
do
%>
<%=
render
"application/user_avatar"
,
user:
user
%>
<%
end
%>
<%
end
%>
</div>
...
...
@@ -145,9 +143,8 @@
<%
if
@shift_coordinators
.
any?
%>
<div
class=
"flex flex-wrap gap-2"
>
<%
@shift_coordinators
.
each
do
|
user
|
%>
<%=
link_to
admin_user_path
(
user
),
class:
"inline-flex items-center px-3 py-1 rounded-full text-sm bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200"
do
%>
<div
class=
"w-5 h-5 rounded-full mr-2"
style=
"background-color:
<%=
user
.
avatar_color
%>
"
></div>
<%=
user
.
name
%>
<%=
link_to
admin_user_path
(
user
)
do
%>
<%=
render
"application/user_avatar"
,
user:
user
%>
<%
end
%>
<%
end
%>
</div>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment