@extends('simple-layout') @section('body')
@include('settings.navbar', ['selected' => 'users'])

{{ trans('settings.users') }}

@foreach(collect($listDetails)->except('search') as $name => $val) @endforeach
@if(userCan('users-manage')) {{ trans('settings.users_add_new') }} @endif
@foreach($users as $user) @endforeach
{{ trans('auth.name') }} / {{ trans('auth.email') }} {{ trans('settings.role_user_roles') }} {{ trans('settings.users_latest_activity') }}
{{ $user->name }} @if(userCan('users-manage') || $currentUser->id == $user->id) id}") }}"> @endif {{ $user->name }}
{{ $user->email }} @if(userCan('users-manage') || $currentUser->id == $user->id)
@endif
@foreach($user->roles as $index => $role) id}") }}">{{$role->display_name}}@if($index !== count($user->roles) -1),@endif @endforeach @if($user->latestActivity) {{ $user->latestActivity->created_at->diffForHumans() }} @endif
{{ $users->links() }}
@stop