@forelse($userLists as $userList)
  • @if(is_null($userList->image)) user-img @else user-img @endif message_seen == 'no' && $userList->user_one != $user->id) class="font-bold" @endif>{{$userList->name}} @if($userList->last_message){{ \Carbon\Carbon::parse($userList->last_message)->diffForHumans()}} @endif @if(\App\User::isAdmin($userList->id)) @elseif(\App\User::isClient($userList->id)) @else @endif
  • @empty
  • @lang('messages.noConversation')
  • @endforelse