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 %>