From ab184c01d8648b86ac33d57ea5df57100aeef6f8 Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Sun, 30 Oct 2022 15:37:52 +0000 Subject: [PATCH] Updated API tokens list to new responsive format --- .../users/api-tokens/parts/list.blade.php | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) 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