@if ($unreadNotificationsCount > 0) @foreach ($unreadNotifications as $notification)
  • {{$notification->title}} {{ $notification->created_at->diffForHumans() }}
    {{ strlen($notification->message) > 50 ? substr($notification->message, 0, 50) . '...' : $notification->message }}
  • @endforeach @else
  • {{ get_label('no_unread_notifications', 'No unread notifications') }}
  • @endif