mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-08-26 12:16:07 +00:00
![Dan Brown](/assets/img/avatar_default.png)
- Also showed entity path in search. - Cleaned popular entity fetch logic. - Cleaned entity selector JS code a little
16 lines
439 B
PHP
16 lines
439 B
PHP
<div class="entity-list">
|
|
@if(count($entities) > 0)
|
|
@foreach($entities as $index => $entity)
|
|
|
|
@include('partials.entity-list-item', ['entity' => $entity, 'showPath' => true])
|
|
@if($index !== count($entities) - 1)
|
|
<hr>
|
|
@endif
|
|
|
|
@endforeach
|
|
@else
|
|
<p class="text-muted text-large p-xl">
|
|
{{ trans('common.no_items') }}
|
|
</p>
|
|
@endif
|
|
</div> |