{{--Requires an entity to be passed with the name $entity--}} @if(count($entity->recentActivity()) > 0)
@foreach($entity->recentActivity() as $activity)
@include('partials/activity-item')
@endforeach
@endif