@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')) @icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} @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 @if($referenceCount ?? 0) @icon('reference')
{!! trans_choice('entities.meta_reference_page_count', $referenceCount, ['count' => $referenceCount]) !!}
@endif @if($watchOptions?->canWatch()) @if($watchOptions->isWatching()) @include('entities.watch-controls', [ 'entity' => $entity, 'watchLevel' => $watchOptions->getWatchLevel(), 'label' => trans('entities.watch_detail_' . $watchOptions->getWatchLevel()), 'ignoring' => $watchOptions->getWatchLevel() === 'ignore', ]) @elseif($watchedParent = $watchOptions->getWatchedParent()) @include('entities.watch-controls', [ 'entity' => $entity, 'watchLevel' => $watchOptions->getWatchLevel(), 'label' => trans('entities.watch_detail_parent_' . $watchedParent->type . ($watchedParent->ignoring() ? '_ignore' : '')), 'ignoring' => $watchedParent->ignoring(), ]) @endif @endif