@extends('admin.layouts.app') @section('panel')
@forelse($notifications as $notification)
{{ __($notification->title) }}
{{ diffForHumans($notification->created_at) }}
@can('admin.notifications.delete.single') @endcan
@empty
empty
@lang('No notification found.')
@endforelse
{{ paginateLinks($notifications) }}
@can('admin.notifications.delete.single') @endcan @endsection @can(['admin.notifications.read.all', 'admin.notifications.delete.all']) @push('breadcrumb-plugins') @can('admin.notifications.read.all') @if ($hasUnread) @lang('Mark All as Read') @endif @endcan @can('admin.notifications.delete.all') @if ($hasNotification) @endif @endcan @endpush @endcan