diff --git a/resources/views/users/api-tokens/parts/list.blade.php b/resources/views/users/api-tokens/parts/list.blade.php index ea1893372..58617fb85 100644 --- a/resources/views/users/api-tokens/parts/list.blade.php +++ b/resources/views/users/api-tokens/parts/list.blade.php @@ -1,6 +1,6 @@
-
-

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

+
+

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

@if(userCan('access-api')) {{ trans('settings.users_api_tokens_docs') }} @@ -9,25 +9,25 @@
@if (count($user->apiTokens) > 0) - - - - - - +
@foreach($user->apiTokens as $token) -
- - - - + +
+
+ {{ trans('settings.users_api_tokens_expires') }}
+ {{ $token->expires_at->format('Y-m-d') ?? '' }} +
+ +
+ @endforeach -
{{ trans('common.name') }}{{ trans('settings.users_api_tokens_expires') }}
- {{ $token->name }}
+
+
+ {{ $token->name }}
{{ $token->token_id }} -
{{ $token->expires_at->format('Y-m-d') ?? '' }} - {{ trans('common.edit') }} -
+
@else

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

@endif