| 
									
										
										
										
											2016-06-12 19:14:14 +08:00
										 |  |  | <div class="page {{$page->draft ? 'draft' : ''}} entity-list-item" data-entity-type="page" data-entity-id="{{$page->id}}"> | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |     <h4> | 
					
						
							| 
									
										
										
										
											2017-07-27 23:10:58 +08:00
										 |  |  |         @if (isset($showPath) && $showPath) | 
					
						
							|  |  |  |             <a href="{{ $page->book->getUrl() }}" class="text-book"> | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |                 @icon('book'){{ $page->book->getShortName() }} | 
					
						
							| 
									
										
										
										
											2017-07-27 23:10:58 +08:00
										 |  |  |             </a> | 
					
						
							|  |  |  |             <span class="text-muted">  »  </span> | 
					
						
							|  |  |  |             @if($page->chapter) | 
					
						
							|  |  |  |                 <a href="{{ $page->chapter->getUrl() }}" class="text-chapter"> | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |                     @icon('chapter'){{ $page->chapter->getShortName() }} | 
					
						
							| 
									
										
										
										
											2017-07-27 23:10:58 +08:00
										 |  |  |                 </a> | 
					
						
							|  |  |  |                 <span class="text-muted">  »  </span> | 
					
						
							|  |  |  |             @endif | 
					
						
							|  |  |  |         @endif | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |         <a href="{{ $page->getUrl() }}" class="text-page entity-list-item-link">@icon('page')<span class="entity-list-item-name break-text">{{ $page->name }}</span></a> | 
					
						
							| 
									
										
										
										
											2016-09-18 21:49:36 +08:00
										 |  |  |     </h4> | 
					
						
							| 
									
										
										
										
											2015-10-15 04:55:56 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-08-07 04:08:03 +08:00
										 |  |  |     <div class="entity-item-snippet"> | 
					
						
							|  |  |  |         @if(isset($page->searchSnippet)) | 
					
						
							| 
									
										
										
										
											2018-02-11 22:28:26 +08:00
										 |  |  |             <p class="text-muted break-text">{!! $page->searchSnippet !!}</p> | 
					
						
							| 
									
										
										
										
											2017-08-07 04:08:03 +08:00
										 |  |  |         @else | 
					
						
							| 
									
										
										
										
											2018-02-11 22:28:26 +08:00
										 |  |  |             <p class="text-muted break-text">{{ $page->getExcerpt() }}</p> | 
					
						
							| 
									
										
										
										
											2017-08-07 04:08:03 +08:00
										 |  |  |         @endif | 
					
						
							|  |  |  |     </div> | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     @if(isset($style) && $style === 'detailed') | 
					
						
							|  |  |  |         <div class="row meta text-muted text-small"> | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |             <div class="col-md-6"> | 
					
						
							| 
									
										
										
										
											2016-12-04 02:35:40 +08:00
										 |  |  |                 @include('partials.entity-meta', ['entity' => $page]) | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |             </div> | 
					
						
							| 
									
										
										
										
											2016-06-12 04:04:18 +08:00
										 |  |  |             <div class="col-md-6"> | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |                 <a class="text-book" href="{{ $page->book->getUrl() }}">@icon('book'){{ $page->book->getShortName(30) }}</a> | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |                 <br> | 
					
						
							|  |  |  |                 @if($page->chapter) | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |                     <a class="text-chapter" href="{{ $page->chapter->getUrl() }}">@icon('chapter'){{ $page->chapter->getShortName(30) }}</a> | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |                 @else | 
					
						
							| 
									
										
										
										
											2018-02-17 21:30:52 +08:00
										 |  |  |                     @icon('chapter') {{ trans('entities.pages_not_in_chapter') }} | 
					
						
							| 
									
										
										
										
											2016-02-21 02:51:01 +08:00
										 |  |  |                 @endif | 
					
						
							|  |  |  |             </div> | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  |     @endif | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-09-04 02:05:45 +08:00
										 |  |  | </div> |