@extends('simple-layout') @section('toolbar')
@include('pages._breadcrumbs', ['page' => $page])
@stop @section('body')

 

{{ trans('entities.pages_revisions') }}

@if(count($page->revisions) > 0) @foreach($page->revisions as $index => $revision) @endforeach
{{ trans('entities.pages_revisions_number') }} {{ trans('entities.pages_name') }} {{ trans('entities.pages_revisions_created_by') }} {{ trans('entities.pages_revisions_date') }} {{ trans('entities.pages_revisions_changelog') }} {{ trans('common.actions') }}
{{ $revision->revision_number == 0 ? '' : $revision->revision_number }} {{ $revision->name }} @if($revision->createdBy) {{ $revision->createdBy->name }} @endif @if($revision->createdBy) {{ $revision->createdBy->name }} @else {{ trans('common.deleted_user') }} @endif {{ $revision->created_at->format('jS F, Y H:i:s') }}
({{ $revision->created_at->diffForHumans() }})
{{ $revision->summary }} {{ trans('entities.pages_revisions_changes') }}  |  @if ($index === 0) {{ trans('entities.pages_revisions_current') }} @else {{ trans('entities.pages_revisions_preview') }}  |  {{ trans('entities.pages_revisions_restore') }} @endif
@else

{{ trans('entities.pages_revisions_none') }}

@endif
@stop