2018-12-22 11:35:04 -05:00
|
|
|
<div class="entity-meta">
|
|
|
|
@if ($entity->isA('page'))
|
|
|
|
@icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} <br>
|
|
|
|
@endif
|
|
|
|
|
2021-02-12 15:58:01 -05:00
|
|
|
@icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [
|
|
|
|
'timeLength' => $entity->created_at->toDayDateTimeString(),
|
|
|
|
'user' => htmlentities($entity->createdBy->name),
|
|
|
|
]) !!}
|
2018-12-22 11:35:04 -05:00
|
|
|
<br>
|
|
|
|
|
2021-02-12 15:58:01 -05:00
|
|
|
@icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [
|
|
|
|
'timeLength' => $entity->updated_at->toDayDateTimeString(),
|
|
|
|
'user' => htmlentities($entity->updatedBy->name)
|
|
|
|
]) !!}
|
2018-12-22 11:35:04 -05:00
|
|
|
</div>
|