@if($entity->isA('revision'))
@icon('history')
{{ trans('entities.pages_revision') }} {{ trans('entities.pages_revisions_number') }}{{ $entity->revision_number == 0 ? '' : $entity->revision_number }}
@endif @if ($entity->isA('page')) @if (userCan('page-update', $entity)) @else
@endif @icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} @if (userCan('page-update', $entity)) @else
@endif @endif @if ($entity->ownedBy && $entity->owned_by !== $entity->created_by)
@icon('user')
{!! trans('entities.meta_owned_name', [ 'user' => "".e($entity->ownedBy->name). "" ]) !!}
@endif @if ($entity->createdBy)
@icon('star')
{!! trans('entities.meta_created_name', [ 'timeLength' => ''.$entity->created_at->diffForHumans() . '', 'user' => "".e($entity->createdBy->name). "" ]) !!}
@else
@icon('star') {{ trans('entities.meta_created', ['timeLength' => $entity->created_at->diffForHumans()]) }}
@endif @if ($entity->updatedBy)
@icon('edit')
{!! trans('entities.meta_updated_name', [ 'timeLength' => '' . $entity->updated_at->diffForHumans() .'', 'user' => "".e($entity->updatedBy->name). "" ]) !!}
@elseif (!$entity->isA('revision'))
@icon('edit') {{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }}
@endif