+
{{ trans('settings.users') }}
-
-
-
+ @foreach($users as $user)
+
+ }})
+
+ @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
+
+
+
@stop
Users
- @if($currentUser->can('user-create')) -- Add new user -
- @endif -- | Name | -User Type | -
---|
- @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - {{ $user->name }} - @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - | -- @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - {{ $user->email }} - @if($currentUser->can('user-update') || $currentUser->id == $user->id) - - @endif - | -{{ $user->role->display_name }} | ++ | + {{ trans('auth.name') }} + / + {{ trans('auth.email') }} + | +{{ trans('settings.role_user_roles') }} |
---|
{{ $user->email }} + @if(userCan('users-manage') || $currentUser->id == $user->id) + + @endif +
+ {{ $users->links() }}
+
+
+