@if ($notifications->isNotEmpty() && ! $isLoading)
@foreach ($notifications as $notification)
-
{{ $notification->data['user_name'] }} commented on
{{ $notification->data['idea_title'] }}:
"{{ $notification->data['comment_body'] }}"
{{ $notification->created_at->diffForHumans() }}
@endforeach
-
@elseif ($isLoading)
@foreach (range(1,3) as $item)
-
@endforeach
@else
-
Отсутствие новых уведомлений
@endif