@if(count($entities) > 0) @foreach($entities as $index => $entity) @include('entities.list-item', [ 'entity' => $entity, 'showPath' => true, 'locked' => $permission !== 'view' && !userCan($permission, $entity) ]) @if($index !== count($entities) - 1)
@endif @endforeach @else

{{ trans('common.no_items') }}

@endif