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