{{-- resources/views/superadmin/system-notifications/panel/user.blade.php --}} @extends('layouts.superadmin') @section('title', 'إشعارات النظام للعضو ' . $user->name) @section('page-title', '🧩 متابعة إشعارات النظام للعضو') @section('content')
{{-- هيدر العضو --}}
Timeline إشعارات النظام لهذا العضو

{{ $user->name }}

@if($user->username) {{ '@' . $user->username }} @endif @if($user->email) {{ $user->email }} @endif
@php $status = request('status'); @endphp
العودة إلى لوحة إشعارات النظام
{{-- جدول الإشعارات الخاصة بهذا العضو --}}
@if($notifications->isEmpty())
لا توجد إشعارات نظام لهذا العضو حتى الآن.
@else
@foreach($notifications as $notification) @php $isRead = (bool) ($notification->is_read ?? false); $audienceType = $notification->target_user_id ? 'private' : 'general'; @endphp
#{{ $notification->id }} @if($audienceType === 'general') إشعار عام @else إشعار خاص @endif

{{ $notification->message }}

@if($notification->action_url) فتح صفحة الإشعار @endif
{{ $notification->created_at?->format('Y-m-d') }}
{{ $notification->created_at?->format('H:i') }}
@if($isRead) مقروء @else غير مقروء @endif
@endforeach
@endif
@endsection