@extends('layouts.vpm-dashboard', ['active' => 'notifications', 'area' => 'admin']) @section('title', 'Notifications') @section('content')

In-app notifications

@if ($notifications->isEmpty())

You have no notifications yet

@else
    @foreach ($notifications as $notification)
  • {{ $notification->title }}

    {{ $notification->body }}

    {{ $notification->audienceLabel() }} ยท {{ $notification->created_at->format('D, d M Y H:i') }}

  • @endforeach
@endif
@if ($errors->any() && old('_notification') === 'send') @push('scripts') @endpush @endif @endsection