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