@extends('base') @section('content')
@include('pages._breadcrumbs', ['page' => $page])

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

@if(count($page->revisions) > 0) @foreach($page->revisions as $index => $revision) @endforeach
{{ trans('entities.pages_name') }} {{ trans('entities.pages_revisions_created_by') }} {{ trans('entities.pages_revisions_date') }} {{ trans('entities.pages_revisions_changelog') }} {{ trans('common.actions') }}
{{ $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