1 <a href="{{$shelf->getUrl()}}" class="bookshelf-grid-item grid-card"
2 data-entity-type="bookshelf" data-entity-id="{{$shelf->id}}">
3 <div class="bg-shelf featured-image-container-wrap">
4 <div class="featured-image-container" @if($shelf->cover) style="background-image: url('{{ $shelf->getBookCover() }}')"@endif>
8 <div class="grid-card-content">
9 <h2>{{$shelf->getShortName(35)}}</h2>
10 @if(isset($shelf->searchSnippet))
11 <p class="text-muted">{!! $shelf->searchSnippet !!}</p>
13 <p class="text-muted">{{ $shelf->getExcerpt(130) }}</p>
16 <div class="grid-card-footer text-muted text-small">
17 @icon('star')<span title="{{$shelf->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $shelf->created_at->diffForHumans()]) }}</span>
19 @icon('edit')<span title="{{ $shelf->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $shelf->updated_at->diffForHumans()]) }}</span>