@php
$color = match ($severity) { 'critical' => '#b91c1c', 'warning' => '#d97706', default => '#2563eb' };
$label = match ($severity) { 'critical' => 'CRITIQUE', 'warning' => 'ATTENTION', default => 'INFORMATION' };
@endphp
| {{ $label }} · {{ config('app.name') }} |
{{ $alertSubject }}
@if ($intro){{ $intro }} @endif
@foreach ($details as $name => $value)
| {{ $name }} |
{{ $value }} |
@endforeach
@if ($url)
Ouvrir le back office
@endif
|
| Alerte automatique envoyée le {{ now()->translatedFormat('d/m/Y à H:i') }} (heure de Paris). Réglages : Administration → Alertes e-mail. |
|