2018-12-23 00:35:04 +08:00
|
|
|
<div class="entity-meta">
|
|
|
|
@if ($entity->isA('page'))
|
|
|
|
@icon('history'){{ trans('entities.meta_revision', ['revisionCount' => $entity->revision_count]) }} <br>
|
|
|
|
@endif
|
|
|
|
|
2021-02-13 04:58:01 +08:00
|
|
|
@icon('star'){!! trans('entities.meta_created' . ($entity->createdBy ? '_name' : ''), [
|
2023-01-22 04:50:04 +08:00
|
|
|
'timeLength' => $entity->created_at->isoFormat('D MMMM Y HH:mm:ss'),
|
2021-05-06 05:52:08 +08:00
|
|
|
'user' => e($entity->createdBy->name ?? ''),
|
2021-02-13 04:58:01 +08:00
|
|
|
]) !!}
|
2018-12-23 00:35:04 +08:00
|
|
|
<br>
|
|
|
|
|
2021-02-13 04:58:01 +08:00
|
|
|
@icon('edit'){!! trans('entities.meta_updated' . ($entity->updatedBy ? '_name' : ''), [
|
2023-01-22 04:50:04 +08:00
|
|
|
'timeLength' => $entity->updated_at->isoFormat('D MMMM Y HH:mm:ss'),
|
2021-05-06 05:52:08 +08:00
|
|
|
'user' => e($entity->updatedBy->name ?? '')
|
2021-02-13 04:58:01 +08:00
|
|
|
]) !!}
|
2018-12-23 00:35:04 +08:00
|
|
|
</div>
|