mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-11 12:47:54 +08:00
10 lines
605 B
PHP
10 lines
605 B
PHP
|
<div class="shelf entity-list-item" data-entity-type="bookshelf" data-entity-id="{{$bookshelf->id}}">
|
||
|
<h4 class="text-shelf"><a class="text-bookshelf entity-list-item-link" href="{{$bookshelf->getUrl()}}">@icon('bookshelf')<span class="entity-list-item-name break-text">{{$bookshelf->name}}</span></a></h4>
|
||
|
<div class="entity-item-snippet">
|
||
|
@if(isset($bookshelf->searchSnippet))
|
||
|
<p class="text-muted break-text">{!! $bookshelf->searchSnippet !!}</p>
|
||
|
@else
|
||
|
<p class="text-muted break-text">{{ $bookshelf->getExcerpt() }}</p>
|
||
|
@endif
|
||
|
</div>
|
||
|
</div>
|