| {{ __('Role') }} | {{ __('Permissions') }} | {{ __('Users') }} | {{ __('Action') }} |
|---|---|---|---|
|
{{ __(ucwords(str_replace('_', ' ', $role->name))) }}
{{ $role->name }}
|
@if ($role->name === 'super_admin') {{ __('Full access') }} @else {{ number_format($role->permissions_count) }} @endif | {{ number_format($role->users_count) }} |
@if ($role->name === $immutableRole)
{{-- No menu at all. An Edit that can only answer
"you may not" is worse than no Edit; the lock
says what the row is instead. --}}
@else
|
{{ $message }}
@enderror{{ __('Lowercase, underscores only.') }}
{{ __('Permissions') }}