BookStack/resources/views/partials/activity-list.blade.php

14 lines
418 B
PHP
Raw Normal View History

{{--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>
2015-08-31 12:59:45 -04:00
@else
<p class="text-muted">New activity will show up here.</p>
@endif