1 <a href="{{$shelf->getUrl()}}" class="bookshelf-grid-item grid-card"
2 data-entity-type="bookshelf" data-entity-id="{{$shelf->id}}">
3 <div class="featured-image-container bg-shelf">
4 <img src="{{$shelf->getBookCover()}}" alt="{{$shelf->name}}">
6 <div class="grid-card-content">
7 <h2>{{$shelf->getShortName(35)}}</h2>
8 @if(isset($shelf->searchSnippet))
9 <p class="text-muted">{!! $shelf->searchSnippet !!}</p>
11 <p class="text-muted">{{ $shelf->getExcerpt(130) }}</p>
14 <div class="grid-card-footer text-muted text-small">
15 @icon('star')<span title="{{$shelf->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $shelf->created_at->diffForHumans()]) }}</span>
17 @icon('edit')<span title="{{ $shelf->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $shelf->updated_at->diffForHumans()]) }}</span>