X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/eac7378ce02c8f8a366e637f0f9b0863d3d8b47a..refs/pull/263/head:/resources/views/users/edit.blade.php diff --git a/resources/views/users/edit.blade.php b/resources/views/users/edit.blade.php index b981c64d8..4db00e31f 100644 --- a/resources/views/users/edit.blade.php +++ b/resources/views/users/edit.blade.php @@ -3,60 +3,65 @@ @section('content') -
-
-
-
-
- -
-
-
-
+ @include('settings/navbar', ['selected' => 'users'])
+
id}") }}" method="post"> +
+
+

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

+
+ +
+
+
+ {!! csrf_field() !!} + + @include('users.forms.' . $authMethod, ['model' => $user]) -
-
-

Edit {{ $user->id === $currentUser->id ? 'Profile' : 'User' }}

- - {!! csrf_field() !!} - - @include('users/form', ['model' => $user]) -
-

 

-
-

- {{ $user->name }} -

-

You can change your profile picture at Gravatar.

+
+ +

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

+ + @include('components.image-picker', [ + 'resizeHeight' => '512', + 'resizeWidth' => '512', + 'showRemove' => false, + 'defaultImage' => baseUrl('/user_avatar.png'), + 'currentImage' => $user->getAvatar(80), + 'currentId' => $user->image_id, + 'name' => 'image_id', + 'imageClass' => 'avatar large' + ]) +
+
- @if($currentUser->id === $user->id) -

Social Accounts

-

- Here you can connect your other accounts for quicker and easier login.
- Disconnecting an account here does not previously authorized access. Revoke access from your profile settings on the connected social account. -

+ @if($currentUser->id === $user->id && count($activeSocialDrivers) > 0) +

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

+

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

@if(isset($activeSocialDrivers['google'])) @@ -66,9 +71,9 @@
@@ -80,5 +85,5 @@


- + @include('components.image-manager', ['imageType' => 'user']) @stop