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(),
|
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' : ''), [
|
|
|
|
'timeLength' => $entity->updated_at->toDayDateTimeString(),
|
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>
|