@extends('layouts.app') @section('content')

{{ __('Notifications') }}

{{ __('Important updates about your account and billing.') }}

@csrf
@if (session('success'))
{{ session('success') }}
@endif
@forelse ($notifications as $notification) @empty @endforelse
{{ __('Title') }} {{ __('Message') }} {{ __('Status') }} {{ __('Date') }} {{ __('Link') }}
{{ __($notification->title) }} {{ __($notification->body) }} @if ($notification->is_read) {{ __('Read') }} @else {{ __('Unread') }} @endif {{ $notification->created_at->translatedFormat('M d, Y H:i') }}
@if ($notification->link) {{ __('Open') }} @endif @if (!$notification->is_read)
@csrf
@endif @if (!$notification->link && $notification->is_read) @endif
{{ __('No notifications.') }}
{{ $notifications->links() }}
@endsection