File: /home/xedaptot/be.naniguide.com/storage/framework/views/fe879485a882022fdb76657428788a12.php
<div class="d-flex mb-3">
<h3 class="me-auto">
<div class="">
<?php echo e(trans('messages.notifications'), false); ?>
</div>
</h3>
<div>
<a href="<?php echo e(action("Admin\NotificationController@index"), false); ?>" class="btn btn-info"><?php echo e(trans('messages.all_logs'), false); ?></a>
</div>
</div>
<ul class="notifications-list pl-0">
<?php if(Auth::user()->admin && Auth::user()->admin->notifications()->count() == 0): ?>
<li>
<div class="text-center py-2 d-block">
<span class="material-symbols-rounded fs-2 text-muted mb-2">running_with_errors</span>
<div class="text-muted">
<?php echo e(trans('messages.no_activity_logs'), false); ?>
</div>
</div>
</li>
<?php endif; ?>
<?php $__currentLoopData = Auth::user()->admin->notifications()->take(20)->get(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<li class="mb-3 px-3 py-2 bg-white shadow-sm rounded-3">
<div class="d-flex py-2" hrxef="javascript:;">
<i class="me-4 d-block">
<?php if($notification->level == \Acelle\Model\Notification::LEVEL_WARNING): ?>
<span class="material-symbols-rounded bg-warning notification-icon">warning_amber</span>
<?php elseif( false &&$notification->level == \Acelle\Model\Notification::LEVEL_ERROR): ?>
<span class="material-symbols-rounded bg-danger notification-icon">new_releases</span>
<?php else: ?>
<span class="material-symbols-rounded bg-info notification-icon">lightbulb</span>
<?php endif; ?>
</i>
<div class="d-block position-relative" style="">
<span class="mb-2">
<span class="text-semibold me-auto" style="white-space: initial;">
<span class="fw-600"><?php echo e($notification->title, false); ?></span>
<span class="text-muted small d-block mt-1 mb-2 text-muted2"><span class="material-symbols-rounded">restore</span> <?php echo e($notification->created_at->diffForHumans(), false); ?></span>
</span>
</span>
<p class="desc-menu-log small mb-0" style="width:280px;overflow:auto"><?php echo e($notification->message, false); ?></p>
</div>
</div>
</li>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</ul>
<?php if(Auth::user()->admin->notifications()->count() > 0): ?>
<div class="text-center mt-4">
<a href="<?php echo e(action("Admin\NotificationController@index"), false); ?>" class="btn btn-info"><?php echo e(trans('messages.all_logs'), false); ?></a>
</div>
<?php endif; ?><?php /**PATH /home/xedaptot/be.naniguide.com/resources/views/admin/notifications/popup.blade.php ENDPATH**/ ?>