@extends('admin.layouts.app') @section('title', __('admin.notification_templates.list_title') . ' — ' . __('admin.brand.name')) @section('page_title', __('admin.notification_templates.list_title')) @php $activeFilters = collect(['is_active'])->filter(fn ($k) => filled(request($k)))->count(); @endphp @section('content') {{ __('admin.notification_templates.create') }} @include('admin.partials.flash') @foreach (request()->only(['q', 'sort', 'dir']) as $key => $value) @endforeach
@if ($templates->isEmpty()) @else
@foreach ($templates as $tpl) @endforeach
{{ __('admin.notification_templates.fields.content') }} {{ __('admin.fields.actions') }}
{{ $tpl->title }} {{ $tpl->content }}
{{ $templates->links() }}
@endif
@endsection