1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2024-10-30 15:42:41 +01:00
BookStack/resources/views/entities/list.blade.php

11 lines
401 B
PHP
Raw Normal View History

@if(count($entities) > 0)
<div class="entity-list {{ $style ?? '' }}">
@foreach($entities as $index => $entity)
@include('entities.list-item', ['entity' => $entity, 'showPath' => $showPath ?? false, 'showTags' => $showTags ?? false])
@endforeach
</div>
@else
<p class="text-muted empty-text">
{{ $emptyText ?? trans('common.no_items') }}
</p>
@endif