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