From aef658645bcc372fe19fc89da248b5a66d0789cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Wed, 28 Oct 2026 12:55:44 +0100 Subject: [PATCH] refactor(slides): update column definitions and formatting - Removed unused 'label' and 'text' columns. - Adjusted 'tableColSorter' parameters for clarity. --- resources/views/bo/slides/index-list.blade.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/resources/views/bo/slides/index-list.blade.php b/resources/views/bo/slides/index-list.blade.php index c8598c05..e9f4cf47 100644 --- a/resources/views/bo/slides/index-list.blade.php +++ b/resources/views/bo/slides/index-list.blade.php @@ -6,8 +6,7 @@ @php $cols = [ - 'label' => Str::ucfirst(__('validation.custom.attributes.label')), - 'text' => Str::ucfirst(__('validation.attributes.text')), + 'title' => Str::ucfirst(__('validation.attributes.title')), 'picture' => Str::ucfirst(__('validation.attributes.image')), 'link' => Str::ucfirst(__('validation.custom.attributes.link')), 'visible' => Str::ucfirst(__('Visible')), @@ -16,13 +15,16 @@ 'order' => Str::ucfirst(__('validation.custom.attributes.order')), ]; @endphp - @include('bo.modules.tableColSorter', ['cols' => $cols, 'ignore' => ['visible'], 'mobileHide' => ['description']]) + @include('bo.modules.tableColSorter', [ + 'cols' => $cols, + 'ignore' => ['visible', 'picture'], + 'mobileHide' => ['description'], + ]) @forelse ($slides as $slide) {{ $slide->title }} - {!! clean($slide->text) !!} {{ $slide->title }} @@ -31,7 +33,8 @@ @if ($slide->isVisible()) @if ($slide->connected) -
{{ __('Connected') }} +
{{ __('Connected') }} @endif @else