@extends('user.layout.master') @section('title', 'Notification Details') @section('content')
Back to Notifications

{{ $notification->title }}

Received: {{ $notification->created_at->format('F j, Y, g:i a') }} ({{ $notification->created_at->diffForHumans() }})

@if ($notification->pivot->is_read)
@csrf
@else
@csrf
@endif
{!! nl2br(e($notification->message)) !!}
@if ($notification->attachments->isNotEmpty())
Attachments
@foreach ($notification->attachments as $attachment) {{ basename($attachment->path) }} @endforeach
@endif
@endsection