diff --git a/resources/views/livewire/oauth-clients.blade.php b/resources/views/livewire/oauth-clients.blade.php index 27a76b623f..7caf5f6a2f 100644 --- a/resources/views/livewire/oauth-clients.blade.php +++ b/resources/views/livewire/oauth-clients.blade.php @@ -32,14 +32,27 @@ @endif @if ($clients->count() > 0) - +
- - - - + + + + + + @@ -57,7 +70,7 @@ @@ -65,20 +78,33 @@ {{ $client->secret }} + + + + @@ -96,19 +122,34 @@
-

+

{{ trans('admin/settings/general.oauth_authorized_apps') }}

-
{{ trans('general.id') }}{{ trans('general.name') }}{{ trans('admin/settings/general.oauth_redirect_url') }}{{ trans('admin/settings/general.oauth_secret') }}{{ trans('general.actions') }}{{ trans('general.name') }}{{ trans('admin/settings/general.oauth_redirect_url') }}{{ trans('admin/settings/general.oauth_secret') }}{{ trans('general.created_at') }}{{ trans('general.updated_at') }} + + {{ trans('general.actions') }} + +
- {{ $client->redirect }} + {{ $client->redirect }} + {{ $client->created_at ? Helper::getFormattedDateObject($client->created_at, 'datetime', false) : '' }} + + @if ($client->created_at != $client->updated_at) + {{ $client->updated_at ? Helper::getFormattedDateObject($client->updated_at, 'datetime', false) : '' }} + @endif + - {{ trans('general.update') }} + + + {{ trans('general.update') }} + - {{ trans('general.delete') }} - + {{ trans('general.delete') }} +
+
- - - + + + + + + @@ -120,6 +161,10 @@ {{ $token->client->name }} + + + + +
{{ trans('general.name') }}{{ trans('admin/settings/general.oauth_scopes') }}{{ trans('general.name') }} {{ trans('account/general.personal_access_token') }}{{ trans('admin/settings/general.oauth_scopes') }}{{ trans('general.created_at') }}{{ trans('general.expires') }} + + {{ trans('general.actions') }} + +
+ {{ $token->name }} + @if(!$token->scopes) @@ -129,6 +174,13 @@ @endif + {{ $token->created_at ? Helper::getFormattedDateObject($token->created_at, 'datetime', false) : '' }} + + {{ $token->expires_at ? Helper::getFormattedDateObject($token->expires_at, 'datetime', false) : '' }} + +@section('moar_scripts') + @include ('partials.bootstrap-table') +@endsection +