X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/ae93a6ed073d385886bc7f0b0090e16d8bad977d..refs/pull/2376/head:/resources/views/users/edit.blade.php diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index 9f8fba8df..f78c25ceb 100644 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -7,7 +7,7 @@ @include('settings.navbar', ['selected' => 'users']) -
+

{{ $user->id === $currentUser->id ? trans('settings.users_edit_profile') : trans('settings.users_edit') }}

id}") }}" method="post" enctype="multipart/form-data"> {!! csrf_field() !!} @@ -61,29 +61,35 @@
- + @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