X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d0a7a8b890cfe570b273addbf8d9cba120a5bc9e..refs/pull/2511/head:/resources/views/users/index.blade.php diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php index 68641ca64..6bc229ec6 100644 --- a/resources/views/users/index.blade.php +++ b/resources/views/users/index.blade.php @@ -21,9 +21,7 @@ - @if(userCan('users-manage')) - {{ trans('settings.users_add_new') }} - @endif + {{ trans('settings.users_add_new') }} @@ -44,13 +42,9 @@ {{ $user->name }} - @if(userCan('users-manage') || $currentUser->id == $user->id) - id}") }}"> - @endif - {{ $user->name }}
{{ $user->email }} - @if(userCan('users-manage') || $currentUser->id == $user->id) -
- @endif + id}") }}"> + {{ $user->name }}
{{ $user->email }} +
@foreach($user->roles as $index => $role)