@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
{{--TODO - Add last login--}} @foreach($users as $user) @endforeach
{{ trans('auth.name') }} / {{ trans('auth.email') }} {{ trans('settings.role_user_roles') }}
{{ $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
{{ $users->links() }}
@stop