Views: Rolled out ID to similar recent activity lists

To allow for easier customization.
Related to #4530
This commit is contained in:
Dan Brown 2023-09-11 18:50:39 +01:00
parent ec86576e1e
commit 18f396c21b
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
3 changed files with 5 additions and 7 deletions

View File

@ -171,7 +171,7 @@
@endif @endif
@if(count($activity) > 0) @if(count($activity) > 0)
<div class="mb-xl"> <div id="recent-activity" class="mb-xl">
<h5>{{ trans('entities.recent_activity') }}</h5> <h5>{{ trans('entities.recent_activity') }}</h5>
@include('common.activity-list', ['activity' => $activity]) @include('common.activity-list', ['activity' => $activity])
</div> </div>

View File

@ -69,11 +69,9 @@
</div> </div>
<div> <div>
<div id="recent-activity"> <div id="recent-activity" class="card mb-xl">
<div class="card mb-xl"> <h3 class="card-title">{{ trans('entities.recent_activity') }}</h3>
<h3 class="card-title">{{ trans('entities.recent_activity') }}</h3> @include('common.activity-list', ['activity' => $activity])
@include('common.activity-list', ['activity' => $activity])
</div>
</div> </div>
</div> </div>

View File

@ -99,7 +99,7 @@
</div> </div>
@if(count($activity) > 0) @if(count($activity) > 0)
<div class="mb-xl"> <div id="recent-activity" class="mb-xl">
<h5>{{ trans('entities.recent_activity') }}</h5> <h5>{{ trans('entities.recent_activity') }}</h5>
@include('common.activity-list', ['activity' => $activity]) @include('common.activity-list', ['activity' => $activity])
</div> </div>