Added # Jobs in admin/users index
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user