2019-05-06 01:15:03 +02:00
|
|
|
@if(count($entities) > 0)
|
|
|
|
<div class="entity-list {{ $style ?? '' }}">
|
2016-02-20 13:37:06 +01:00
|
|
|
@foreach($entities as $index => $entity)
|
2021-08-22 14:15:58 +02:00
|
|
|
@include('entities.list-item', ['entity' => $entity, 'showPath' => $showPath ?? false, 'showTags' => $showTags ?? false])
|
2016-02-20 13:37:06 +01:00
|
|
|
@endforeach
|
2019-05-06 01:15:03 +02:00
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
<p class="text-muted empty-text">
|
|
|
|
{{ $emptyText ?? trans('common.no_items') }}
|
|
|
|
</p>
|
|
|
|
@endif
|