mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-30 04:23:11 +03:00
enh(recently updated): show updatedBy and updated_at
This commit is contained in:
@ -20,4 +20,13 @@
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if(($showUpdatedBy ?? false) && $entity->relationLoaded('updatedBy') && $entity->updatedBy)
|
||||
<small title="{{ $entity->updated_at->toDayDateTimeString() }}">
|
||||
{!! trans('entities.meta_updated_name', [
|
||||
'timeLength' => $entity->updated_at->diffForHumans(),
|
||||
'user' => e($entity->updatedBy->name)
|
||||
]) !!}
|
||||
</small>
|
||||
@endif
|
||||
|
||||
@endcomponent
|
Reference in New Issue
Block a user