X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/03073dd9e413d20d385cb4a90cbce420fa5614c1..refs/pull/2333/head:/resources/views/users/edit.blade.php
diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php
index b9ad052c7..f78c25ceb 100644
--- a/resources/views/users/edit.blade.php
+++ b/resources/views/users/edit.blade.php
@@ -7,9 +7,9 @@
@include('settings.navbar', ['selected' => 'users'])
-
+
{{ $user->id === $currentUser->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}
-
@@ -54,38 +54,43 @@
-
+
@if($currentUser->id === $user->id && count($activeSocialDrivers) > 0)
-
+
{{ trans('settings.users_social_accounts') }}
{{ trans('settings.users_social_accounts_info') }}
@foreach($activeSocialDrivers as $driver => $enabled)
-
@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])
+
@icon('auth/'. $driver, ['style' => 'width: 56px;height: 56px;'])
@endforeach
-
+
+ @endif
+
+ @if(($currentUser->id === $user->id && userCan('access-api')) || userCan('users-manage'))
+ @include('users.api-tokens.list', ['user' => $user])
@endif
- @include('components.image-manager', ['imageType' => 'user'])
@stop