@php /** @var \Illuminate\Support\Collection $channels */ /** @var \Illuminate\Support\Collection $menus */ @endphp
{{ __('LINE') }} · {{ __('Rich menus') }}

{{ __('Rich') }} {{ __('menus') }}

{{ __('The tappable image panel pinned to the bottom of every chat. Pick a layout, upload an image and assign an action per cell.') }}

{{ __('Channels') }} @unless ($channels->isEmpty()) {{ __('New rich menu') }} @endunless
@if (session('success'))
{{ session('success') }}
@endif @if (session('error') || $errors->any())
{{ session('error') ?: $errors->first() }}
@endif @if ($channels->isEmpty())
L

{{ __('Connect a LINE channel first.') }}

{{ __('Connect a channel') }}
@elseif ($menus->isEmpty())
{{ __('No rich menus yet.') }} {{ __('Create your first one') }}.
@else
@foreach ($menus as $m)
@if ($m->image_path) {{ $m->name }} @endif
{{ $m->name }}
{{ $m->channel?->display_name ?: ($m->channel?->basic_id ?: 'LINE') }} · {{ $m->chat_bar_text }}
@if ($m->is_default) {{ __('Default') }} @endif
@if ($m->is_default)
@csrf
@else
@csrf
@endif
@csrf @method('DELETE')
@endforeach
@endif