mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 20:54:38 +08:00
37bf7f11e4
- Also showed entity path in search. - Cleaned popular entity fetch logic. - Cleaned entity selector JS code a little
12 lines
391 B
PHP
12 lines
391 B
PHP
|
|
<div class="entity-list {{ $style ?? '' }}">
|
|
@if(count($entities) > 0)
|
|
@foreach($entities as $index => $entity)
|
|
@include('partials.entity-list-item', ['entity' => $entity, 'showPath' => $showPath ?? false])
|
|
@endforeach
|
|
@else
|
|
<p class="text-muted empty-text">
|
|
{{ $emptyText ?? trans('common.no_items') }}
|
|
</p>
|
|
@endif
|
|
</div> |