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

21 lines
561 B
PHP
Raw Normal View History

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