@extends('layouts.app') @section('pagetitle', 'API keys') @section('breadcrumbs') @endsection @section('content')
@if(session('plainTextKey'))
{{__('Copy this key now. It will not be shown again.')}}
{{session('plainTextKey')}}
@endif

{{__("Here you can find all API keys within ") . config('app.name')}}

{{__('Add')}}
@foreach($apiKeys as $apiKey) @endforeach
# {{__('Name')}} {{__('User')}} {{__('Key')}} {{__('Last used')}}
{{$apiKey->id}} {{$apiKey->name}} {{optional($apiKey->User)->name}} …{{$apiKey->last_four}} {{$apiKey->last_used_at ? $apiKey->last_used_at->format('Y-m-d H:i') : __('Never')}} {{__('Revoke')}}
@endsection @section('page_js') @endsection