@extends('student.layouts.app') @section('title', __('dashboard.Notifications')) @section('content') @php $isArabic = app()->getLocale() === 'ar'; $notificationItems = $notifications->getCollection(); $unreadCount = $notificationItems->whereNull('seen_at')->count(); $generalCount = $notificationItems->where('kind', 'general')->count(); $directCount = $notificationItems->where('kind', 'system')->count(); @endphp
{{ $isArabic ? 'تابع الرسائل المباشرة والتنبيهات العامة، واعرف ما الجديد بدون ازدحام أو تشتت.' : 'Review direct messages and general alerts in one cleaner, more focused page.' }}
{{ $isArabic ? 'اجعل الصفحة أخف بتنظيف الإشعارات غير المقروءة أو افتح أحدث العناصر مباشرة.' : 'Keep the page light by clearing unread alerts or opening recent items directly.' }}
{{ $isArabic ? 'العناصر الأحدث أولاً، مع تمييز واضح للرسائل غير المقروءة.' : 'Newest items first, with a clearer unread state.' }}
{{ $notification->body }}
{{ $isArabic ? 'عند وصول أي تنبيه جديد سيظهر هنا مباشرة.' : 'Any new alert will appear here as soon as it arrives.' }}