]> BookStack Code Mirror - bookstack/blob - resources/views/partials/activity-list.blade.php
Fixes #45
[bookstack] / resources / views / partials / activity-list.blade.php
1
2 {{--Requires an entity to be passed with the name $entity--}}
3
4 @if(count($activity) > 0)
5     <div class="activity-list">
6         @foreach($activity as $activityItem)
7             <div class="activity-list-item">
8                 @include('partials/activity-item', ['activity' => $activityItem])
9             </div>
10         @endforeach
11     </div>
12 @else
13     <p class="text-muted">New activity will show up here.</p>
14 @endif