Change design of Roles on list (#879)
This commit is contained in:
commit
dc232d66d4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue