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' : ''), [
|
2023-01-21 15:50:04 -05:00
|
|
|
'timeLength' => $entity->created_at->isoFormat('D MMMM Y HH:mm:ss'),
|
2021-05-05 17:52:08 -04:00
|
|
|
'user' => e($entity->createdBy->name ?? ''),
|
2021-02-12 15:58:01 -05:00
|
|
|
]) !!}
|
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' : ''), [
|
2023-01-21 15:50:04 -05:00
|
|
|
'timeLength' => $entity->updated_at->isoFormat('D MMMM Y HH:mm:ss'),
|
2021-05-05 17:52:08 -04:00
|
|
|
'user' => e($entity->updatedBy->name ?? '')
|
2021-02-12 15:58:01 -05:00
|
|
|
]) !!}
|
2018-12-22 11:35:04 -05:00
|
|
|
</div>
|