mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
12 lines
347 B
PHP
12 lines
347 B
PHP
|
|
||
|
{{--Requires an entity to be passed with the name $entity--}}
|
||
|
|
||
|
@if(count($entity->recentActivity()) > 0)
|
||
|
<div class="activity-list">
|
||
|
@foreach($entity->recentActivity() as $activity)
|
||
|
<div class="activity-list-item">
|
||
|
@include('partials/activity-item')
|
||
|
</div>
|
||
|
@endforeach
|
||
|
</div>
|
||
|
@endif
|