@extends('layouts.app') @section('title', 'Roles') @section('content')
| Role | Level | Permissions | Users | Status | Actions |
|---|---|---|---|---|---|
|
{{ $role->display_name }}
{{ $role->name }}
@if($role->description)
{{ Str::limit($role->description, 50) }}
@endif
|
{{ ucfirst(str_replace('_', ' ', $role->level)) }} @if($role->is_system) System @endif |
{{ $role->permissions->count() }} permissions
|
{{ $role->users->count() }} users
|
@if($role->is_active) Active @else Inactive @endif | |
| No roles found. | |||||