2016-11-17 14:33:07 +01:00
|
|
|
<p class="text-muted small">
|
2017-04-20 21:58:54 +02:00
|
|
|
@if ($entity->isA('page')) {{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} <br> @endif
|
2016-11-17 14:33:07 +01:00
|
|
|
@if ($entity->createdBy)
|
2017-04-20 21:58:54 +02:00
|
|
|
{!! trans('entities.meta_created_name', [
|
|
|
|
'timeLength' => '<span title="'.$entity->created_at->toDayDateTimeString().'">'.$entity->created_at->diffForHumans() . '</span>',
|
|
|
|
'user' => "<a href='{$entity->createdBy->getProfileUrl()}'>".htmlentities($entity->createdBy->name). "</a>"
|
|
|
|
]) !!}
|
2016-11-17 14:33:07 +01:00
|
|
|
@else
|
2017-04-20 21:58:54 +02:00
|
|
|
<span title="{{$entity->created_at->toDayDateTimeString()}}">{{ trans('entities.meta_created', ['timeLength' => $entity->created_at->diffForHumans()]) }}</span>
|
2016-11-17 14:33:07 +01:00
|
|
|
@endif
|
|
|
|
<br>
|
|
|
|
@if ($entity->updatedBy)
|
2017-04-20 21:58:54 +02:00
|
|
|
{!! trans('entities.meta_updated_name', [
|
|
|
|
'timeLength' => '<span title="' . $entity->updated_at->toDayDateTimeString() .'">' . $entity->updated_at->diffForHumans() .'</span>',
|
|
|
|
'user' => "<a href='{$entity->updatedBy->getProfileUrl()}'>".htmlentities($entity->updatedBy->name). "</a>"
|
|
|
|
]) !!}
|
2016-11-17 14:33:07 +01:00
|
|
|
@else
|
2017-04-20 21:58:54 +02:00
|
|
|
<span title="{{ $entity->updated_at->toDayDateTimeString() }}">{{ trans('entities.meta_updated', ['timeLength' => $entity->updated_at->diffForHumans()]) }}</span>
|
2016-11-17 14:33:07 +01:00
|
|
|
@endif
|
|
|
|
</p>
|