{{--Requires an Activity item with the name $activity passed in--}} @if($activity->user)
{{ $activity->user->name }}
@endif
@if($activity->user) {{ $activity->user->name }} @else {{ trans('common.deleted_user') }} @endif {{ $activity->getText() }} @if($activity->entity) {{ $activity->entity->name }} @endif @if($activity->extra) "{{ $activity->extra }}" @endif
{{ $activity->created_at->diffForHumans() }}