2016-06-12 19:14:14 +08:00
|
|
|
<div class="book entity-list-item" data-entity-type="book" data-entity-id="{{$book->id}}">
|
2018-02-17 21:30:52 +08:00
|
|
|
<h4 class="text-book"><a class="text-book entity-list-item-link" href="{{$book->getUrl()}}">@icon('book')<span class="entity-list-item-name break-text">{{$book->name}}</span></a></h4>
|
2017-08-07 04:08:03 +08:00
|
|
|
<div class="entity-item-snippet">
|
|
|
|
@if(isset($book->searchSnippet))
|
2018-02-11 22:28:26 +08:00
|
|
|
<p class="text-muted break-text">{!! $book->searchSnippet !!}</p>
|
2017-08-07 04:08:03 +08:00
|
|
|
@else
|
2018-02-11 22:28:26 +08:00
|
|
|
<p class="text-muted break-text">{{ $book->getExcerpt() }}</p>
|
2017-08-07 04:08:03 +08:00
|
|
|
@endif
|
|
|
|
</div>
|
2015-09-03 23:51:10 +08:00
|
|
|
</div>
|