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