@php use Illuminate\Support\Str; @endphp @extends('layouts.admin.app', ['page' => $menuAdmin['featured_section']['active'] ?? "", 'sub_page' => $menuAdmin['featured_section']['route']['sort_featured_section']['sub_active'] ?? "" ]) @section('title', __('labels.sort_featured_sections')) @section('header_data') @php $page_title = __('labels.sort_featured_sections'); $page_pretitle = __('labels.list'); @endphp @endsection @php $breadcrumbs = [ ['title' => __('labels.home'), 'url' => route('admin.dashboard')], ['title' => __('labels.sort_featured_sections'), 'url' => ''] ]; @endphp @section('admin-content')

{{ __('labels.sort_featured_sections') . " (" . ($globalSections->count() + $categorySections->flatten()->count()) . ")" }}

{{ __('labels.sorting_instructions') }}

{{ __('labels.drag_drop_instruction') }}

@if($globalSections->isEmpty() && $categorySections->isEmpty())
{{ __('labels.no_featured_sections_found') }}

{{ __('labels.create_featured_sections_first') }}

{{ __('labels.create_featured_section') }}
@else @if($globalSections->isNotEmpty())
@foreach($globalSections as $section)
@endforeach
@endif @if($categorySections->isNotEmpty()) @foreach($categorySections as $categoryId => $sections)
@foreach($sections as $section)
@endforeach
@endforeach @endif @endif
@endsection @push('scripts') @endpush