X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/cd6572b61af2165133468d2562d04dffdca8fca8..refs/pull/1973/head:/resources/views/users/index.blade.php diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php index 3ea5a03f7..da373c161 100644 --- a/resources/views/users/index.blade.php +++ b/resources/views/users/index.blade.php @@ -1,80 +1,69 @@ -@extends('base') +@extends('simple-layout') +@section('body') +
-@section('content') - - @include('settings/navbar', ['selected' => 'users']) +
+ @include('settings.navbar', ['selected' => 'users']) +
+
-
-
-
-

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

-
-
-

- @if(userCan('users-manage')) - {{ trans('settings.users_add_new') }} - @endif -
-
+
+

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

-
-
-
- {{ $users->links() }} +
+
+
+ @foreach(collect($listDetails)->except('search') as $name => $val) + + @endforeach + +
+
+ @if(userCan('users-manage')) + {{ trans('settings.users_add_new') }} + @endif
-
-
- @foreach(collect($listDetails)->except('search') as $name => $val) - - @endforeach - -
-
-
- - - - - - - - @foreach($users as $user) + {{--TODO - Add last login--}} +
{{ trans('auth.name') }}{{ trans('auth.email') }}{{ trans('settings.role_user_roles') }}
- - - - + + + - @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 - + {{ trans('auth.name') }} + / + {{ trans('auth.email') }} + {{ trans('settings.role_user_roles') }}
+ @foreach($users as $user) + + {{ $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 + + + @endforeach + + +
+ {{ $users->links() }} +
+
-
- {{ $users->links() }} -
@stop