user-image English user-image Spanish user-image German user-image Italian user-image Russian
@php use Illuminate\Support\Facades\Schema; @endphp
Notifications
@auth @if (Schema::hasTable('notifications')) @php $notifications = $shouldHide ? collect() : $user->notifications->take(7); @endphp @forelse($notifications as $notif)
{{ $notif->data['title'] ?? 'Notification' }}

{{ $notif->data['message'] }}

{{ $notif->created_at->diffForHumans() }}

@empty
No notifications yet
@endforelse @endif @endauth
View All
Profile
@csrf
Logout