@if($entity->isA('revision')) {{ 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)) @endif @icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }}
@if (userCan('page-update', $entity))
@endif @endif @if ($entity->createdBy) @icon('star'){!! trans('entities.meta_created_name', [ 'timeLength' => ''.$entity->created_at->diffForHumans() . '', 'user' => "".htmlentities($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' => "".htmlentities($entity->updatedBy->name). "" ]) !!} @elseif (!$entity->isA('revision')) @icon('edit'){{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }} @endif