| 
									
										
										
										
											2019-02-03 21:45:45 +08:00
										 |  |  | <a href="{{$shelf->getUrl()}}" class="bookshelf-grid-item grid-card" | 
					
						
							|  |  |  |    data-entity-type="bookshelf" data-entity-id="{{$shelf->id}}"> | 
					
						
							|  |  |  |     <div class="featured-image-container bg-shelf"> | 
					
						
							|  |  |  |         <img src="{{$shelf->getBookCover()}}" alt="{{$shelf->name}}"> | 
					
						
							| 
									
										
										
										
											2018-08-27 21:18:09 +08:00
										 |  |  |     </div> | 
					
						
							|  |  |  |     <div class="grid-card-content"> | 
					
						
							| 
									
										
										
										
											2019-02-03 21:45:45 +08:00
										 |  |  |         <h2>{{$shelf->getShortName(35)}}</h2> | 
					
						
							|  |  |  |         @if(isset($shelf->searchSnippet)) | 
					
						
							|  |  |  |             <p class="text-muted">{!! $shelf->searchSnippet !!}</p> | 
					
						
							| 
									
										
										
										
											2018-08-27 21:18:09 +08:00
										 |  |  |         @else | 
					
						
							| 
									
										
										
										
											2019-02-03 21:45:45 +08:00
										 |  |  |             <p class="text-muted">{{ $shelf->getExcerpt(130) }}</p> | 
					
						
							| 
									
										
										
										
											2018-08-27 21:18:09 +08:00
										 |  |  |         @endif | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  |     <div class="grid-card-footer text-muted text-small"> | 
					
						
							| 
									
										
										
										
											2019-02-03 21:45:45 +08:00
										 |  |  |         @icon('star')<span title="{{$shelf->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $shelf->created_at->diffForHumans()]) }}</span> | 
					
						
							|  |  |  |         <br> | 
					
						
							|  |  |  |         @icon('edit')<span title="{{ $shelf->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $shelf->updated_at->diffForHumans()]) }}</span> | 
					
						
							| 
									
										
										
										
											2018-08-27 21:18:09 +08:00
										 |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2019-02-03 21:45:45 +08:00
										 |  |  | </a> |