@if ($notifications->isNotEmpty())
@foreach ($notifications as $notification)
-
@if (!$notification->read_at)
{{ __('Unread') }}
@endif
{{ $notification->data['text'] }}
{{ $notification->created_at->diffForHumans() }}
@if ($notification->read_at)
@else
@endif
@endforeach
@if ($notifications->hasPages())
{{ $notifications->onEachSide(2)->links() }}
@endif
@else
{{ __('There is no notifications to display.') }}
@endif