2017-07-05 10:28:52 -04:00
|
|
|
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-3" data-entity-type="book" data-entity-id="{{$book->id}}">
|
|
|
|
<div class="galleryItem">
|
|
|
|
<h3>
|
|
|
|
<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>
|
|
|
|
<img @if($book->image === NULL) src="{{baseUrl('/default.jpg')}}" @else src="{{$book->image}}" @endif alt="{{$book->name}}">
|
|
|
|
</a>
|
|
|
|
</h3>
|
|
|
|
@if(isset($book->searchSnippet))
|
|
|
|
<p class="text-muted">{!! $book->searchSnippet !!}</p>
|
|
|
|
@else
|
2017-06-29 09:24:04 -04:00
|
|
|
<p class="text-muted">{{ $book->getExcerpt() }}</p>
|
2017-07-05 10:28:52 -04:00
|
|
|
@endif
|
|
|
|
</div>
|
2017-06-29 09:24:04 -04:00
|
|
|
</div>
|