mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-05 07:23:59 +08:00
11 lines
362 B
PHP
11 lines
362 B
PHP
|
<div class="entity-list {{ $style ?? '' }}">
|
||
|
@if(count($entities) > 0)
|
||
|
@foreach($entities as $index => $entity)
|
||
|
@include('partials.entity-list-item-basic', ['entity' => $entity])
|
||
|
@endforeach
|
||
|
@else
|
||
|
<p class="text-muted empty-text">
|
||
|
{{ $emptyText ?? trans('common.no_items') }}
|
||
|
</p>
|
||
|
@endif
|
||
|
</div>
|