BookStack/resources/views/search/entity-ajax-list.blade.php

16 lines
439 B
PHP
Raw Normal View History

<div class="entity-list">
2016-07-03 04:58:45 -04:00
@if(count($entities) > 0)
@foreach($entities as $index => $entity)
@include('partials.entity-list-item', ['entity' => $entity, 'showPath' => true])
2016-07-03 04:58:45 -04:00
@if($index !== count($entities) - 1)
<hr>
@endif
@endforeach
@else
<p class="text-muted text-large p-xl">
2016-12-04 09:08:04 -05:00
{{ trans('common.no_items') }}
2016-07-03 04:58:45 -04:00
</p>
@endif
</div>