mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-02-22 03:58:39 +00:00

- 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
No EOL
379 B
PHP
12 lines
No EOL
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 |