@extends('tyro-dashboard::layouts.admin') @section('title', 'Users') @section('breadcrumb') Dashboard / Users @endsection @section('content')
@if(!empty($filters['search']) || !empty($filters['role']) || !empty($filters['status'])) Clear @endif
@if($users->count())
@foreach($users as $listUser) @endforeach
User Roles Status Joined Actions
@if($listUser->profile_photo_path || ($listUser->use_gravatar && $listUser->email)) {{ $listUser->name }} @else {{ strtoupper(substr($listUser->name, 0, 1)) }} @endif
{{ $listUser->name }}
@forelse($listUser->roles as $role) {{ $role->name }} @empty No roles @endforelse
@if(method_exists($listUser, 'isSuspended') && $listUser->isSuspended()) Suspended @else Active @endif {{ $listUser->created_at->format('M d, Y') }}
@if($listUser->id !== $user->id)
@csrf
@endif @if(method_exists($listUser, 'isSuspended') && $listUser->isSuspended())
@csrf
@elseif(method_exists($listUser, 'suspend')) @endif @if($listUser->id !== $user->id)
@csrf @method('DELETE')
@endif
@if($users->hasPages()) @endif @else

No users found

Get started by creating a new user.

Add User
@endif
@push('scripts') @endpush @endsection