{{-- Dina utskick (DESIGN.md Page patterns 2, list page; #2957 slice 3a, card #3017). Same data and query parameters as before the reskin: SendoutController@index paginates the company's sendouts, "q" searches the subject and "archived=1" also shows the archived ones (Sendout::scopeSearch). The statistics box that used to sit beside the list is gone (DESIGN.md: no stats box on pages that are not about statistics); the old "Välj funktion" dropdown is replaced by row buttons and the "Mer" menu (partials/list). --}} @extends('layouts.nuhet') @php $query = trim((string) request('q', '')); $showArchived = request()->filled('archived'); $filtered = $query !== '' || $showArchived; @endphp @section('_pageTitle', __('sendout.index.pageTitle')) @section('pagename', __('sendout.sendoutList')) @section('page')

{{ __('sendout.sendoutList') }}

{{ __('sendout.index.lead') }}

{{ __('sendout.create.button') }} {{ __('navigation.create_gdrp_sendout') }}
@if ($sendouts->isEmpty() && ! $filtered) {{ __('sendout.index.emptyText') }} {{ __('sendout.create.button') }} @else @push('scripts') @endpush @if ($sendouts->isEmpty()) {{ __('sendout.index.noMatchText') }} {{ __('sendout.seeMore') }} @else @include('sendout.partials.list', ['data' => $sendouts, 'archived' => $showArchived]) @endif @endif @endsection