X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/d886c6a32e633f21a38b5fc880cf14f9921404c2..refs/pull/2336/head:/resources/views/users/index.blade.php diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php index fd05a7a15..da373c161 100644 --- a/resources/views/users/index.blade.php +++ b/resources/views/users/index.blade.php @@ -1,76 +1,68 @@ @extends('simple-layout') -@section('toolbar') - @include('settings/navbar', ['selected' => 'users']) -@stop - @section('body')
-

 

-
-

@icon('users') {{ trans('settings.users') }}

-
-
-
-
-
- @foreach(collect($listDetails)->except('search') as $name => $val) - - @endforeach - -
-
-
- @if(userCan('users-manage')) - {{ trans('settings.users_add_new') }} - @endif -
+ +
+ @include('settings.navbar', ['selected' => 'users']) +
+ +
+ +
+

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

+ +
+
+
+ @foreach(collect($listDetails)->except('search') as $name => $val) + + @endforeach + +
+ @if(userCan('users-manage')) + {{ trans('settings.users_add_new') }} + @endif
+
- + {{--TODO - Add last login--}} +
+ + + + + + @foreach($users as $user) - - - - + + + - @foreach($users as $user) - - - - - - - @endforeach -
+ {{ trans('auth.name') }} + / + {{ trans('auth.email') }} + {{ trans('settings.role_user_roles') }}
{{ trans('auth.name') }}{{ trans('auth.email') }}{{ trans('settings.role_user_roles') }}{{ $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 +
+ @foreach($user->roles as $index => $role) + id}") }}">{{$role->display_name}}@if($index !== count($user->roles) -1),@endif + @endforeach +
{{ $user->name }} - @if(userCan('users-manage') || $currentUser->id == $user->id) - id}") }}"> - @endif - {{ $user->name }} - @if(userCan('users-manage') || $currentUser->id == $user->id) - - @endif - - @if(userCan('users-manage') || $currentUser->id == $user->id) - id}") }}"> - @endif - {{ $user->email }} - @if(userCan('users-manage') || $currentUser->id == $user->id) - - @endif - - @foreach($user->roles as $index => $role) - id}") }}">{{$role->display_name}}@if($index !== count($user->roles) -1),@endif - @endforeach -
- -
- {{ $users->links() }} -
+ @endforeach + +
+ {{ $users->links() }}
-
+