2 {{--Requires an Activity item with the name $activity passed in--}}
4 @if($activity->user) {{$activity->user->name}} @endif
6 {{ $activity->getText() }}
8 @if($activity->entity())
9 <a href="{{ $activity->entity()->getUrl() }}">{{ $activity->entity()->name }}</a>
12 @if($activity->extra) "{{$activity->extra}}" @endif
16 <span class="text-muted"><small><i class="zmdi zmdi-time"></i>{{ $activity->created_at->diffForHumans() }}</small></span>