@php $notificationsIcon = count($notifications) > 0 ? 'heroicon-s-bell' : 'heroicon-s-bell-slash'; @endphp @if ($notifications->isEmpty()) {{ __('messages.tax.no') . ' ' . __('messages.notification.notifications') }} {{ __('messages.notification.you_don`t_have_any_new_notification') }} @else {{ __('messages.notification.notifications') }} @endif @if (count($notifications) != 0) {{ count($notifications) }} @endif @foreach ($notifications as $notification)

{{ $notification->title }}

{{ Carbon\Carbon::parse($notification->created_at)->diffForHumans() }}
@endforeach
{{ __('messages.notification.mark_all_as_read') }}