@extends('public.layout') @section('title') {{ clean(trans('user::users.users')) }} @endsection @section('breadcrumb')
  • {{ clean(trans('user::users.users')) }}
  • @endsection @section('content')

    {{ clean(trans('user::users.users')) }}

    {{ intl_number($users->total()) }} {{ trans_choice('user::users.users_found', $users->total()) }}
    @forelse($users as $user)
    @if ( ! $user->avatar->exists) {{ Theme::image('public/images/default-user-image.png') }} @else @endif

    ({{ clean(trans('user::users.joined')) }} {{ is_null($user->created_at) ? '—' : $user->created_at->diffForHumans() }} )
    {{ intl_number($user->ebooks_count) }} {{ trans_choice('author::authors.books_found', $user->ebooks_count) }}
    @empty

    {{ clean(trans('user::users.no_users_were_found')) }}

    @endforelse
    {{ $users->links() }}
    @endsection