2018-02-11 12:36:51 +01:00
|
|
|
<div class="book-grid-item grid-card" data-entity-type="book" data-entity-id="{{$book->id}}">
|
2017-09-04 16:57:52 +02:00
|
|
|
<div class="featured-image-container">
|
|
|
|
<a href="{{$book->getUrl()}}" title="{{$book->name}}">
|
2018-02-11 12:36:51 +01:00
|
|
|
<img src="{{$book->getBookCover()}}" alt="{{$book->name}}">
|
2017-07-07 12:59:38 +02:00
|
|
|
</a>
|
2017-07-12 10:14:37 +02:00
|
|
|
</div>
|
2018-02-11 12:36:51 +01:00
|
|
|
<div class="grid-card-content">
|
2018-02-11 15:28:26 +01:00
|
|
|
<h2><a class="break-text" href="{{$book->getUrl()}}" title="{{$book->name}}">{{$book->getShortName(35)}}</a></h2>
|
2017-09-04 16:57:52 +02:00
|
|
|
@if(isset($book->searchSnippet))
|
2017-12-06 17:34:26 +01:00
|
|
|
<p >{!! $book->searchSnippet !!}</p>
|
2017-09-04 16:57:52 +02:00
|
|
|
@else
|
|
|
|
<p >{{ $book->getExcerpt(130) }}</p>
|
|
|
|
@endif
|
2018-02-11 12:36:51 +01:00
|
|
|
</div>
|
2018-04-30 16:12:10 +02:00
|
|
|
<div class="grid-card-footer text-muted text-small">
|
2018-02-11 12:36:51 +01:00
|
|
|
<span>@include('partials.entity-meta', ['entity' => $book])</span>
|
2017-09-04 16:57:52 +02:00
|
|
|
</div>
|
2017-06-29 15:24:04 +02:00
|
|
|
</div>
|