2021-01-15 22:52:03 +08:00
|
|
|
@component('partials.entity-list-item-basic', ['entity' => $entity, 'showTags' => $showTags])
|
2018-11-11 21:11:36 +08:00
|
|
|
<div class="entity-item-snippet">
|
2019-03-31 00:54:15 +08: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 21:11:36 +08:00
|
|
|
<p class="text-muted break-text">{{ $entity->getExcerpt() }}</p>
|
|
|
|
</div>
|
|
|
|
@endcomponent
|