2015-08-16 13:59:23 -04:00
|
|
|
|
|
|
|
{{--Requires an entity to be passed with the name $entity--}}
|
|
|
|
|
2015-08-16 15:11:21 -04:00
|
|
|
@if(count($activity) > 0)
|
2015-08-16 13:59:23 -04:00
|
|
|
<div class="activity-list">
|
2015-08-16 15:11:21 -04:00
|
|
|
@foreach($activity as $activityItem)
|
2015-08-16 13:59:23 -04:00
|
|
|
<div class="activity-list-item">
|
2015-08-16 15:11:21 -04:00
|
|
|
@include('partials/activity-item', ['activity' => $activityItem])
|
2015-08-16 13:59:23 -04:00
|
|
|
</div>
|
|
|
|
@endforeach
|
|
|
|
</div>
|
2015-08-31 12:59:45 -04:00
|
|
|
@else
|
|
|
|
<p class="text-muted">New activity will show up here.</p>
|
2015-08-16 13:59:23 -04:00
|
|
|
@endif
|