2018-11-11 14:11:36 +01:00
|
|
|
@component('partials.entity-list-item-basic', ['entity' => $entity])
|
|
|
|
<div class="entity-item-snippet">
|
2019-03-30 17:54:15 +01:00
|
|
|
|
|
|
|
@if($showPath ?? false)
|
|
|
|
@if($entity->book_id)
|
|
|
|
<span class="text-book">{{ $entity->book->getShortName(42) }}</span>
|
|
|
|
@if($entity->chapter_id)
|
|
|
|
<span class="text-muted entity-list-item-path-sep">@icon('chevron-right')</span> <span class="text-chapter">{{ $entity->chapter->getShortName(42) }}</span>
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
@endif
|
|
|
|
|
2018-11-11 14:11:36 +01:00
|
|
|
<p class="text-muted break-text">{{ $entity->getExcerpt() }}</p>
|
|
|
|
</div>
|
|
|
|
@endcomponent
|