From 18f396c21bd55fcbf70398a626b76875f8e340ec Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Mon, 11 Sep 2023 18:50:39 +0100 Subject: [PATCH] Views: Rolled out ID to similar recent activity lists To allow for easier customization. Related to #4530 --- resources/views/books/show.blade.php | 2 +- resources/views/home/default.blade.php | 8 +++----- resources/views/shelves/show.blade.php | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/resources/views/books/show.blade.php b/resources/views/books/show.blade.php index 75b01a379..e3aef845c 100644 --- a/resources/views/books/show.blade.php +++ b/resources/views/books/show.blade.php @@ -171,7 +171,7 @@ @endif @if(count($activity) > 0) -
+
{{ trans('entities.recent_activity') }}
@include('common.activity-list', ['activity' => $activity])
diff --git a/resources/views/home/default.blade.php b/resources/views/home/default.blade.php index c273db276..46015354d 100644 --- a/resources/views/home/default.blade.php +++ b/resources/views/home/default.blade.php @@ -69,11 +69,9 @@
-
-
-

{{ trans('entities.recent_activity') }}

- @include('common.activity-list', ['activity' => $activity]) -
+
+

{{ trans('entities.recent_activity') }}

+ @include('common.activity-list', ['activity' => $activity])
diff --git a/resources/views/shelves/show.blade.php b/resources/views/shelves/show.blade.php index 8019a557f..86dd6326d 100644 --- a/resources/views/shelves/show.blade.php +++ b/resources/views/shelves/show.blade.php @@ -99,7 +99,7 @@
@if(count($activity) > 0) -
+
{{ trans('entities.recent_activity') }}
@include('common.activity-list', ['activity' => $activity])