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' : ''), [
|
2021-05-30 07:02:32 +08:00
|
|
|
'timeLength' => $entity->created_at->formatLocalized('%e %B %Y %H:%M:%S'),
|
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' : ''), [
|
2021-05-30 07:02:32 +08:00
|
|
|
'timeLength' => $entity->updated_at->formatLocalized('%e %B %Y %H:%M:%S'),
|
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>
|