Skip to content
Snippets Groups Projects
Commit 5a863675 authored by Teal Bauer's avatar Teal Bauer Committed by Teal
Browse files

Fix admin dashboard user list display

parent 71103f5b
No related branches found
No related tags found
1 merge request!31Redesign conference form with improved UI organization
Pipeline #38354 passed
This commit is part of merge request !31. Comments created here will be created in the context of that merge request.
...@@ -109,9 +109,8 @@ ...@@ -109,9 +109,8 @@
<% if @admin_users.any? %> <% if @admin_users.any? %>
<div class="flex flex-wrap gap-2"> <div class="flex flex-wrap gap-2">
<% @admin_users.each do |user| %> <% @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 %> <%= link_to admin_user_path(user) do %>
<div class="w-5 h-5 rounded-full mr-2" style="background-color: <%= user.avatar_color %>"></div> <%= render "application/user_avatar", user: user %>
<%= user.name %>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
...@@ -127,9 +126,8 @@ ...@@ -127,9 +126,8 @@
<% if @events_admins.any? %> <% if @events_admins.any? %>
<div class="flex flex-wrap gap-2"> <div class="flex flex-wrap gap-2">
<% @events_admins.each do |user| %> <% @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 %> <%= link_to admin_user_path(user) do %>
<div class="w-5 h-5 rounded-full mr-2" style="background-color: <%= user.avatar_color %>"></div> <%= render "application/user_avatar", user: user %>
<%= user.name %>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
...@@ -145,9 +143,8 @@ ...@@ -145,9 +143,8 @@
<% if @shift_coordinators.any? %> <% if @shift_coordinators.any? %>
<div class="flex flex-wrap gap-2"> <div class="flex flex-wrap gap-2">
<% @shift_coordinators.each do |user| %> <% @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 %> <%= link_to admin_user_path(user) do %>
<div class="w-5 h-5 rounded-full mr-2" style="background-color: <%= user.avatar_color %>"></div> <%= render "application/user_avatar", user: user %>
<%= user.name %>
<% end %> <% end %>
<% end %> <% end %>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment