@extends('layouts.admin') @section('title', 'Notifications') @section('heading', 'Notifications') @section('content')
@csrf
@forelse ($notifications as $n)
@unless ($n->read_at)@endunless
{{ $n->title }}
@if ($n->message)
{{ $n->message }}
@endif
{{ ucfirst(str_replace('_',' ', $n->type)) }} · {{ $n->created_at?->diffForHumans() }} @if ($n->license) · view license@endif
@unless ($n->read_at)
@csrf
@endunless
@empty
No notifications.
@endforelse
{{ $notifications->links() }}
@endsection