@extends('Backend.Layouts.app') @php $page_title = 'Notifications'; $notificationCount = $notifications->count(); @endphp @section('content')
{{-- Page Heading --}}

Notifications

Stay updated with important activities and announcements.

{{ number_format($notificationCount) }} Notifications
{{-- Summary --}}
Total Notifications
{{ number_format($notificationCount) }}
Latest Activity
@if($notificationCount) {{ optional($notifications->first()->created_at)->format('d M, Y') ?? 'Available' }} @else No activity @endif
Notification Centre
Up to date
{{-- Notification List --}}
All Notifications

Click a notification to view its details.

@forelse($notifications as $notification) url) onclick="return false;" @endif >
{{ $notification->title }}

{{ strip_tags($notification->content) }}

@if($notification->created_at) • {{ $notification->created_at }} @else Notification @endif
@if($notification->url)
@endif
@empty
No notifications yet

You're all caught up. New notifications will appear here when available.

@endforelse
@if($notificationCount) @endif
@stop @push('scripts') @endpush