mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
9b4f1fb981
- 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
12 lines
379 B
PHP
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 |