Added # Jobs in admin/users index

This commit is contained in:
2024-09-17 22:54:09 +02:00
parent 03b1158e7a
commit ca59573581
2 changed files with 7 additions and 1 deletions

View File

@@ -14,6 +14,11 @@
<%= icon bool_icon(user.verified), class: "icon #{user.verified ? "text-green-600" : "text-red-600"}", title: "E-Mail-Adresse verifiziert" %>
<%= user.email %>
</td>
<td class="p-2 py-3">
<span class="badge block w-28 bg-role-<%= user.role %>-light">
<%= user.jobs_as_costumer.count %>
</span>
</td>
<td class="p-2 py-3">
<span class="badge block w-28 bg-role-<%= user.role %>-light">
<%= user.role %>

View File

@@ -11,7 +11,8 @@
<tr>
<th class="w-1 p-2 py-3 text-center">ID</th>
<th class="w-1 p-2 py-3 text-left">Name</th>
<th class="p-2 py-3 text-left">E-Mail-Adresse</th>
<th class="p-2 py-3 text-center">E-Mail-Adresse</th>
<th class="w-1 p-2 py-3 text-center"># Jobs</th>
<th class="w-1 p-2 py-3 text-center">Rolle</th>
<th class="w-1 p-2 py-3 text-center">Rolle ändern zu</th>
</tr>