{{--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->loggable && is_null($activity->loggable->deleted_at)) {{ $activity->loggable->name }} @endif @if($activity->loggable && !is_null($activity->loggable->deleted_at)) "{{ $activity->loggable->name }}" @endif
@icon('time'){{ $activity->created_at->diffForHumans() }}