| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  | @extends('layouts.simple') | 
					
						
							| 
									
										
										
										
											2015-08-09 19:06:52 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-08-26 22:41:33 +08:00
										 |  |  | @section('body') | 
					
						
							| 
									
										
										
										
											2018-05-28 17:33:38 +08:00
										 |  |  |     <div class="container"> | 
					
						
							| 
									
										
										
										
											2017-08-26 22:41:33 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-18 01:52:42 +08:00
										 |  |  |         <div class="my-s"> | 
					
						
							| 
									
										
										
										
											2021-08-22 20:15:58 +08:00
										 |  |  |             @include('entities.breadcrumbs', ['crumbs' => [ | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |                 $page->book, | 
					
						
							|  |  |  |                 $page->chapter, | 
					
						
							|  |  |  |                 $page, | 
					
						
							| 
									
										
										
										
											2019-02-18 01:52:42 +08:00
										 |  |  |                 $page->getUrl('/revisions') => [ | 
					
						
							|  |  |  |                     'text' => trans('entities.pages_revisions'), | 
					
						
							|  |  |  |                     'icon' => 'history', | 
					
						
							|  |  |  |                 ] | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |             ]]) | 
					
						
							|  |  |  |         </div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-08-25 22:44:51 +08:00
										 |  |  |         <main class="card content-wrap"> | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |             <h1 class="list-heading">{{ trans('entities.pages_revisions') }}</h1> | 
					
						
							| 
									
										
										
										
											2022-08-11 00:50:35 +08:00
										 |  |  |             @if(count($revisions) > 0) | 
					
						
							| 
									
										
										
										
											2017-08-26 22:41:33 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |                 <table class="table"> | 
					
						
							|  |  |  |                     <tr> | 
					
						
							| 
									
										
										
										
											2022-08-11 00:50:35 +08:00
										 |  |  |                         <th width="56">{{ trans('entities.pages_revisions_number') }}</th> | 
					
						
							| 
									
										
										
										
											2022-04-23 22:03:58 +08:00
										 |  |  |                         <th> | 
					
						
							|  |  |  |                             {{ trans('entities.pages_name') }} / {{ trans('entities.pages_revisions_editor') }} | 
					
						
							|  |  |  |                         </th> | 
					
						
							|  |  |  |                         <th colspan="2">{{ trans('entities.pages_revisions_created_by') }} / {{ trans('entities.pages_revisions_date') }}</th> | 
					
						
							|  |  |  |                         <th>{{ trans('entities.pages_revisions_changelog') }}</th> | 
					
						
							|  |  |  |                         <th class="text-right">{{ trans('common.actions') }}</th> | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |                     </tr> | 
					
						
							| 
									
										
										
										
											2022-08-11 00:50:35 +08:00
										 |  |  |                     @foreach($revisions as $index => $revision) | 
					
						
							|  |  |  |                         @include('pages.parts.revision-table-row', ['revision' => $revision]) | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |                     @endforeach | 
					
						
							|  |  |  |                 </table> | 
					
						
							| 
									
										
										
										
											2017-08-26 22:41:33 +08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-02-02 19:41:41 +08:00
										 |  |  |             @else | 
					
						
							|  |  |  |                 <p>{{ trans('entities.pages_revisions_none') }}</p> | 
					
						
							|  |  |  |             @endif | 
					
						
							| 
									
										
										
										
											2019-08-25 22:44:51 +08:00
										 |  |  |         </main> | 
					
						
							| 
									
										
										
										
											2015-08-09 19:06:52 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     </div> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @stop |