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 🗓️
Merge requests
!31
Redesign conference form with improved UI organization
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
Redesign conference form with improved UI organization
admin-dashboard-fixes
into
main
Overview
1
Commits
2
Pipelines
2
Changes
1
Closed
Teal
requested to merge
admin-dashboard-fixes
into
main
1 month ago
Overview
1
Commits
2
Pipelines
2
Changes
1
Expand
Group form into logical sections with background color and headers
Add labels and placeholder text
0
0
Merge request reports
Viewing commit
5a863675
Prev
Next
Show latest version
1 file
+
6
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
5a863675
Fix admin dashboard user list display
· 5a863675
Teal Bauer
authored
1 month ago
app/views/admin/dashboard/index.html.erb
+
6
−
9
Options
@@ -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>
Loading