2017-07-05 22:28:52 +08:00
|
|
|
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" data-entity-type="book" data-entity-id="{{$book->id}}">
|
2017-07-12 16:14:37 +08:00
|
|
|
<div class="gallery-item">
|
|
|
|
<h4>
|
2017-07-07 18:59:38 +08:00
|
|
|
<a class="text-book entity-list-item-link" href="{{$book->getUrl()}}"><i class="zmdi zmdi-book"></i><span class="entity-list-item-name">{{$book->name}}</span>
|
|
|
|
<br>
|
2017-07-12 16:14:37 +08:00
|
|
|
</a>
|
|
|
|
</h4>
|
|
|
|
<div class="gallery-image">
|
|
|
|
<a class="text-book entity-list-item-link" href="{{$book->getUrl()}}">
|
2017-07-07 18:59:38 +08:00
|
|
|
<img src="{{$book->getBookCover(192)}}" alt="{{$book->name}}">
|
|
|
|
</a>
|
2017-07-12 16:14:37 +08:00
|
|
|
</div>
|
2017-07-07 18:59:38 +08:00
|
|
|
@if(isset($book->searchSnippet))
|
|
|
|
<p class="text-muted">{!! $book->searchSnippet !!}</p>
|
|
|
|
@else
|
2017-07-12 16:14:37 +08:00
|
|
|
<p class="text-muted">{{ $book->getExcerpt(80) }}</p>
|
2017-07-07 18:59:38 +08:00
|
|
|
@endif
|
|
|
|
</div>
|
2017-06-29 21:24:04 +08:00
|
|
|
</div>
|