@extends('backend.layouts.app') @section('title', 'Email Templates') @section('content') @include('backend.module._index-reset-button') @php $pageTitle = 'Email Templates'; @endphp @include('backend.layouts.partials._page_header')

All Email Templates

@can('email-event.view') Assign Templates @endcan @can('email-send.create') Send Email @endcan @can('email-log.view') Logs @endcan @can('email-branding.view') Branding @endcan @can('email-template.create') Create @endcan
@forelse ($templates as $template) @php $isSystem = array_key_exists($template->template_key, config('email_templates.templates', [])); @endphp @empty @endforelse
# Template Key Category Subject Status Actions
{{ $loop->iteration }}

{{ $template->template_name }}

{{ $isSystem ? 'System event template' : 'Custom template' }}

{{ $template->template_key }} {{ $categoryLabels[$template->category] ?? $template->category }} {{ $template->subject }} @if ($template->is_active) Active @else Inactive @endif
@can('email-template.view') @endcan @can('email-template.update') @endcan @unless ($isSystem) @can('email-template.delete')
@csrf @method('DELETE')
@endcan @endunless

No templates found

Run the email template seeder or clear the search filter.

@endsection