Server : nginx/1.18.0 System : Linux localhost 6.14.3-x86_64-linode168 #1 SMP PREEMPT_DYNAMIC Mon Apr 21 19:47:55 EDT 2025 x86_64 User : www-data ( 33) PHP Version : 8.0.16 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/ecommerce/storage/framework/views/ |
<div id="notifications">
<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<i class="fas fa-bell fa-fw"></i>
<!-- Counter - Alerts -->
<span class="badge badge-danger badge-counter">
<?php if(count(Auth::user()->unreadNotifications) >5 ): ?><span data-count="5" class="count">5+</span>
<?php else: ?>
<span class="count" data-count="<?php echo e(count(Auth::user()->unreadNotifications)); ?>"><?php echo e(count(Auth::user()->unreadNotifications)); ?></span>
<?php endif; ?>
</span>
</a>
<!-- Dropdown - Alerts -->
<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="alertsDropdown">
<h6 class="dropdown-header">
Notifications Center
</h6>
<?php $__currentLoopData = Auth::user()->unreadNotifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<a class="dropdown-item d-flex align-items-center" target="_blank" href="<?php echo e(route('admin.notification',$notification->id)); ?>">
<div class="mr-3">
<div class="icon-circle bg-primary">
<i class="fas <?php echo e($notification->data['fas']); ?> text-white"></i>
</div>
</div>
<div>
<div class="small text-gray-500"><?php echo e($notification->created_at->format('F d, Y h:i A')); ?></div>
<span class="<?php if($notification->unread()): ?> font-weight-bold <?php else: ?> small text-gray-500 <?php endif; ?>"><?php echo e($notification->data['title']); ?></span>
</div>
</a>
<?php if($loop->index+1==5): ?>
<?php
break;
?>
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<a class="dropdown-item text-center small text-gray-500" href="<?php echo e(route('all.notification')); ?>">Show All Notifications</a>
</div>
</div><?php /**PATH /var/www/ecommerce/resources/views/backend/notification/show.blade.php ENDPATH**/ ?>