X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/17f4aa4300976937a0e90df8328229436a3c3d4c..refs/pull/806/head:/resources/views/users/index.blade.php diff --git a/resources/views/users/index.blade.php b/resources/views/users/index.blade.php index 57f9b8873..3c507e0f1 100644 --- a/resources/views/users/index.blade.php +++ b/resources/views/users/index.blade.php @@ -1,41 +1,77 @@ -@extends('base') +@extends('simple-layout') +@section('toolbar') + @include('settings/navbar', ['selected' => 'users']) +@stop -@section('content') +@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']) + + + + + + + + @foreach($users as $user) + + + + + + + @endforeach +
{{ 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 }} + @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() }} +
+ +
+
-
-

Users

- @if($currentUser->can('user-create')) -

- Add New User -

- @endif - - - - - - - - @foreach($users as $user) - - - - - - - @endforeach -
NameEmailUser Type
{{$user->name}} - @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - {{$user->name}} - @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - {{$user->email}}{{ $user->role->display_name }}
@stop