@forelse($notifications as $notification) @empty @endforelse
{{ __('user.notification_title') }} {{ __('user.notification_app') }} {{ __('user.notification_style') }} {{ __('common.status') }} {{ __('user.notification_time') }} {{ __('common.actions') }}
{{ Str::limit($notification->title, 40) }}
{{ Str::limit($notification->body, 50) }}
{{ $notification->app->name ?? __('common.n_a') }} @if($notification->notification_style === 'image') {{ __('user.notification_style_image') }} @else {{ __('user.notification_style_text') }} @endif {{ ucfirst($notification->status) }} @if($notification->status === 'scheduled' && $notification->scheduled_at) {{ $notification->scheduled_at->diffForHumans() }} @elseif($notification->sent_at) {{ $notification->sent_at->diffForHumans() }} @else {{ $notification->created_at->diffForHumans() }} @endif @if(in_array($notification->status, ['scheduled', 'pending'])) @elseif($notification->status === 'failed') @else - @endif
@if($userApps->count() === 0) {{ __('user.no_apps_with_notifications') }} @else {{ __('user.no_notifications_found') }} @endif