@php $roles = [ App\Models\User::BANNED => 'banned', App\Models\User::NORMAL => 'normal', App\Models\User::ADMIN => 'admin', App\Models\User::SUPER_ADMIN => 'super-admin', ]; $role = $roles[$user->permission]; @endphp
{{ $user->nickname ?? $user->email }}
@lang("admin.users.status.$role")