BookStack/resources/views/partials/activity-list.blade.php
2015-08-31 17:59:45 +01:00

14 lines
418 B
PHP

{{--Requires an entity to be passed with the name $entity--}}
@if(count($activity) > 0)
<div class="activity-list">
@foreach($activity as $activityItem)
<div class="activity-list-item">
@include('partials/activity-item', ['activity' => $activityItem])
</div>
@endforeach
</div>
@else
<p class="text-muted">New activity will show up here.</p>
@endif