]> BookStack Code Mirror - bookstack/blob - resources/views/search/entity-ajax-list.blade.php
Actually include the Queueable namespace...
[bookstack] / resources / views / search / entity-ajax-list.blade.php
1 <div class="entity-list @if(isset($style)){{ $style }}@endif" ng-non-bindable>
2     @if(count($entities) > 0)
3         @foreach($entities as $index => $entity)
4             @if($entity->isA('page'))
5                 @include('pages/list-item', ['page' => $entity])
6             @elseif($entity->isA('book'))
7                 @include('books/list-item', ['book' => $entity])
8             @elseif($entity->isA('chapter'))
9                 @include('chapters/list-item', ['chapter' => $entity, 'hidePages' => true, 'showPath' => true])
10             @endif
11
12             @if($index !== count($entities) - 1)
13                 <hr>
14             @endif
15
16         @endforeach
17     @else
18         <p class="text-muted">
19             {{ trans('common.no_items') }}
20         </p>
21     @endif
22 </div>