Change design of Roles on list (#879)

This commit is contained in:
Dennis 2023-06-09 23:59:25 +02:00 committed by GitHub
commit dc232d66d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -203,7 +203,7 @@ class RoleController extends Controller
})
->editColumn('name', function (Role $role) {
return "<span style=\"color: $role->color\">$role->name</span>";
return "<span style='background-color: $role->color' class='badge'>$role->name</span>";
})
->editColumn('usercount', function ($query) {
return $query->users_count;