From 5a0e60f7c58c85fdbfdcf79d88e923edb2fd610a Mon Sep 17 00:00:00 2001 From: Deon George Date: Fri, 4 Oct 2024 15:39:38 +1000 Subject: [PATCH] Fix info link for videos, limit showing duplicates to 10 --- app/Traits/Multimedia.php | 2 +- resources/views/components/{ => photo}/info.blade.php | 0 resources/views/components/video/info.blade.php | 1 + resources/views/photo/widgets/thumbnail.blade.php | 2 +- resources/views/video/view.blade.php | 2 +- resources/views/video/widgets/thumbnail.blade.php | 2 +- 6 files changed, 5 insertions(+), 4 deletions(-) rename resources/views/components/{ => photo}/info.blade.php (100%) create mode 100644 resources/views/components/video/info.blade.php diff --git a/app/Traits/Multimedia.php b/app/Traits/Multimedia.php index 9aef317..ac27afd 100644 --- a/app/Traits/Multimedia.php +++ b/app/Traits/Multimedia.php @@ -18,7 +18,7 @@ trait Multimedia { use Type; - protected const list_duplicates = 20; + protected const list_duplicates = 10; protected const list_deletes = 50; private function controller(string $type): string diff --git a/resources/views/components/info.blade.php b/resources/views/components/photo/info.blade.php similarity index 100% rename from resources/views/components/info.blade.php rename to resources/views/components/photo/info.blade.php diff --git a/resources/views/components/video/info.blade.php b/resources/views/components/video/info.blade.php new file mode 100644 index 0000000..dfe32ae --- /dev/null +++ b/resources/views/components/video/info.blade.php @@ -0,0 +1 @@ +{{ $id }} \ No newline at end of file diff --git a/resources/views/photo/widgets/thumbnail.blade.php b/resources/views/photo/widgets/thumbnail.blade.php index 7031c93..73b5685 100644 --- a/resources/views/photo/widgets/thumbnail.blade.php +++ b/resources/views/photo/widgets/thumbnail.blade.php @@ -26,7 +26,7 @@