@extends('layouts.app') @section('title') My Notifications @endsection @section('content')
Dashboard → Notifications

My Notifications

{{-- Sidebar --}}
@include('partials.settings-sidebar')
{{-- Main Content --}}
@forelse($notifications as $notification)
@if (!$notification->read_at) New @endif {{ $notification->data['title'] }}

{{ $notification->data['message'] }}

{{ $notification->created_at->diffForHumans() }} @if (!empty($notification->data['url'])) @endif
@if (!$notification->read_at)
@csrf
@endif
@empty
No notifications yet.
@endforelse {{ $notifications->links() }}
@endsection