BookStackApp_BookStack/resources/views/common/activity-list.blade.php
Dan Brown 9b4f1fb981
Styles: Aligned empty state alignment & consistency
- Fixed inital empty state margins/paddings to be aligned and not differ
when lists are empty.
- Aligned button/action display when viewing empty entities.
- Fixed use of non-existing permission in books for book empty state
  button.

Fixes #4563
2023-10-23 11:53:19 +01:00

12 lines
379 B
PHP

@if(count($activity) > 0)
<div class="activity-list">
@foreach($activity as $activityItem)
<div class="activity-list-item">
@include('common.activity-item', ['activity' => $activityItem])
</div>
@endforeach
</div>
@else
<p class="text-muted empty-text mb-none pb-l">{{ trans('common.no_activity') }}</p>
@endif