@extends('layouts.front.home') @section('title') {{ __('nav.notifications') }} - Vendor | Hema @endsection @section('css') @endsection @section('content')
@include('flash::message')

{{ __('nav.notifications') }}

{{ __('nav.notifications_description') }}

{{ __('nav.dashboard') }}
{{ __('nav.all') }} {{ $counts['total'] }}
{{ __('nav.unread') }} {{ $counts['unread'] }}
{{ __('nav.read') }} {{ $counts['read'] }}

{{ __('nav.notification') }}

{{ __('nav.notifications_desc') }}

@if($counts['unread'] > 0)
@csrf
@endif @if($selectedType || $filter !== 'all') {{ __('nav.reset') }} @endif

{{ __('nav.recent_notifications') }}

{{ __('nav.notifications_description') }}

@if($notifications->count())
@foreach($notifications as $notification)

{{ $notification->display_title }}

{{ $notification->type_label }} {{ $notification->is_unread ? __('nav.unread') : __('nav.read') }}

{{ $notification->display_message }}

{{ optional($notification->created_at)->diffForHumans() }} {{ optional($notification->created_at)->format('Y-m-d H:i') }}
{{ optional($notification->created_at)->diffForHumans() }}
@if($notification->display_url) {{ __('nav.view') }} @endif @if($notification->is_unread)
@csrf
@endif
@csrf @method('DELETE')
@endforeach
@if($notifications->hasPages())
{{ $notifications->links('pagination::bootstrap-4') }}
@endif @else

{{ __('nav.no_notifications') }}

{{ __('nav.notifications_description') }}

@endif
@endsection