@include('back.modules.searchBar')
{{ $sliders->withQueryString()->onEachSide(1)->links() }}
@php
$rst = !is_null(request()->rst);
$routeName = request()->route()->getName();
$noOrder = Session::get("$routeName.sort_col") !== 'order' and (Session::has("$routeName.sort_col") or Session::has("$routeName.sort_way"));
$noOrder = Session::get("$routeName.sort_col") !== '' and (Session::has("$routeName.sort_col") or Session::has("$routeName.sort_way"));
$cols = ['title' => __('Titre'), 'order' => __('Ordre'), 'status' => __('Publication'), 'updated_at' => __('Mis à jour')];
@endphp
@include('back.modules.tableColSorter', [ 'cols' => $cols, 'mobileHide' => ['status']])
@if($sliders->count())
@foreach ($sliders as $slider)
| {{ $slider->title }} |
@if(!$noOrder or $rst)
@if(!($loop->first and $sliders->onFirstPage()))
@endif
@if (!($loop->last and $sliders->currentPage() === $sliders->lastPage()))
@endif
|
@endif
|
{{ $slider->updated_at->formatLocalized('%d/%m/%Y à %I:%M') }}
|
|
@endforeach
@else
| {{
__('Aucun résultat pour les :models', ['models' => __('models.classes.sliders') ])
}} |
@endif
{{ $sliders->withQueryString()->onEachSide(1)->links() }}