{{-- Minimal Notifications Style (Mega/Kaiali) --}}
{{-- Header --}}

الإشعارات {{ $unreadCount }}

{{-- Tabs --}}
{{-- List --}}
@forelse($notifications as $notification)
@switch($notification->type) @case('error') @break @case('warning') @break @case('success') @break @default @endswitch

@if(!$notification->is_read) جديد @endif @if($notification->is_required) مهم @endif {{ $notification->title }}

{!! $notification->safe_content !!}
@if($notification->related_model_type && $notification->relatedModel) @php $linkHelper = app(\App\Services\Notification\NotificationLinkHelper::class); $relatedLink = $linkHelper->getLinkForPlatform($notification, 'web'); @endphp @if($relatedLink && $relatedLink !== '#') عرض التفاصيل @endif @endif
{{ $notification->created_at?->diffForHumans() }} @if(!$notification->is_read) @else ✓ تمت القراءة @endif
@empty

لا توجد إشعارات

ستظهر الإشعارات هنا عند وصولها

@endforelse
لا توجد إشعارات تطابق الفلتر