@auth() @php($userNotifications = server()->getNotifications()) @php($isNotEmptyNotifications = $userNotifications->isNotEmpty()) @if($isNotEmptyNotifications)
@if($isNotEmptyNotifications) {{ $userNotifications->count() }} @endif
@if($isNotEmptyNotifications) @foreach($userNotifications as $notification)
{{ $notification->data["title_{$currentLang}"] ?? '' }}

{!! $notification->data["message_{$currentLang}"] !!}

@if(isset($notification->data['button']['link'])) @endif {{ $notification->created_at->format('d.m.Y H:i') }}
@endforeach @else

{{ __('panel/includes/nav.notifications.2') }}

@endif @if($isNotEmptyNotifications) @endif
@endif @endauth