2015-11-21 18:22:14 +01:00
|
|
|
|
2018-10-16 19:49:16 +02:00
|
|
|
<div class="entity-list {{ $style ?? '' }}">
|
2016-02-20 13:37:06 +01:00
|
|
|
@if(count($entities) > 0)
|
|
|
|
@foreach($entities as $index => $entity)
|
2018-10-16 19:49:16 +02:00
|
|
|
@include('partials.entity-list-item', ['entity' => $entity])
|
2016-02-20 13:37:06 +01:00
|
|
|
@endforeach
|
|
|
|
@else
|
2016-07-03 11:12:12 +02:00
|
|
|
<p class="text-muted empty-text">
|
2018-10-16 19:49:16 +02:00
|
|
|
{{ $emptyText ?? trans('common.no_items') }}
|
2016-02-20 13:37:06 +01:00
|
|
|
</p>
|
|
|
|
@endif
|
|
|
|
</div>
|