{{-- title description
--}}
{{--
--}} {{--
{{ $this->user->tokens->count() }}
--}} {{__('Create API Token')}} {{__('allow 3rd services to authenticate with our application')}}
@if (Laravel\Jetstream\Jetstream::hasPermissions())
@foreach (Laravel\Jetstream\Jetstream::$permissions as $permission) @endforeach
@endif
{{ __('Created.') }} {{ __('Create') }}
{{ $this->user->tokens->count() }}
@if ($this->user->tokens->isNotEmpty()) {{-- --}}
{{ __('Manage API Tokens') }} {{ __('You may delete any of your existing tokens if they are no longer needed.') }}
@foreach ($this->user->tokens->sortBy('name') as $token)
{{__('Token Name')}}
{{$token->name}}
{{__('Created')}} {{$token->created_at->diffForHumans()}}
@if ($token->last_used_at)
{{__('Last Used: ')}} {{$token->last_used_at->diffForHumans()}}
@else
{{__('Last Used: ')}} {{__('NEVER')}}
@endif
@if ($token->expires_at)
{{$token->expires_at->diffForHumans()}}
@else
{{__('NEVER')}}
@endif
@if (Laravel\Jetstream\Jetstream::hasPermissions()) {{__('Permissions')}} @endif {{-- @if ($token->last_used_at)
{{ __('Last used') }} {{ $token->last_used_at->diffForHumans() }}
@else --}} {{--
{{ __('Never used') }} {{ $token->last_used_at->diffForHumans() }}
--}} {{-- @endif --}} {{-- @if (Laravel\Jetstream\Jetstream::hasPermissions()) @endif --}} {{-- --}}

@endforeach
@endif {{ __('API Token') }}
{{ __('Please copy your new API token. For your security, it won\'t be shown again.') }}
{{ __('Close') }}
{{ __('API Token Permissions') }}
@foreach (Laravel\Jetstream\Jetstream::$permissions as $permission) @endforeach
{{ __('Cancel') }} {{ __('Save') }}
{{ __('Delete API Token') }} {{ __('Are you sure you would like to delete this API token?') }} {{ __('Cancel') }} {{ __('Delete') }}